diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d36ff49d4..fa59c5f2e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -125,7 +125,7 @@ jobs: run: tar xjf test-${{ matrix.compiler }}.tar.bz2 -C ${{ env.DF_FOLDER }} - name: Start X server if: matrix.os == 'ubuntu' - run: Xvfb :0 -screen 0 1600x1200x32 & + run: Xvfb :0 -screen 0 1600x1200x24 & - name: Run lua tests timeout-minutes: 10 env: diff --git a/ci/test.lua b/ci/test.lua index 34fcd97a6..193b89ce8 100644 --- a/ci/test.lua +++ b/ci/test.lua @@ -213,7 +213,7 @@ end local function click_top_title_button(scr) local sw, sh = dfhack.screen.getWindowSize() - print(('screen dimensions: %d, %d'):format(sw. sh)) + print(('screen dimensions: %d, %d'):format(sw, sh)) df.global.gps.mouse_x = sw // 2 df.global.gps.precise_mouse_x = df.global.gps.mouse_x * df.global.gps.tile_pixel_x if sh < 60 then