Skip to content

Commit

Permalink
fix: incorrect default right string margin
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilyV99 committed May 3, 2024
1 parent 7908ad4 commit 1428ca0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/qst.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3638,7 +3638,7 @@ void init_msgstr(MsgStr *str)
str->margins[up] = 8;
str->margins[down] = 0;
str->margins[left] = 8;
str->margins[right] = 0;
str->margins[right] = 8;
str->portrait_tile = 0;
str->portrait_cset = 0;
str->portrait_x = 0;
Expand Down
2 changes: 1 addition & 1 deletion tests/test_zeditor.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def test_export_strings(self):
tsv = tsv_path.read_text().splitlines()
self.assertEqual(
tsv[2],
' IT\'S DANGEROUS TO GO ALONE! TAKE THIS. 0 0 0 0 0 24 32 192 24 18 1 0 0 0 8 0 0 8 0 0 0 0 1 1 0 0 6',
' IT\'S DANGEROUS TO GO ALONE! TAKE THIS. 0 0 0 0 0 24 32 192 24 18 1 0 0 0 8 8 0 8 0 0 0 0 1 1 0 0 6',
)
self.assertEqual(len(tsv), 37)

Expand Down

0 comments on commit 1428ca0

Please sign in to comment.