Skip to content

Commit ae1c890

Browse files
committed
fix: incorrect default right string margin
1 parent 2761eb5 commit ae1c890

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/qst.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3615,7 +3615,7 @@ void init_msgstr(MsgStr *str)
36153615
str->margins[up] = 8;
36163616
str->margins[down] = 0;
36173617
str->margins[left] = 8;
3618-
str->margins[right] = 0;
3618+
str->margins[right] = 8;
36193619
str->portrait_tile = 0;
36203620
str->portrait_cset = 0;
36213621
str->portrait_x = 0;

tests/test_zeditor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def test_export_strings(self):
195195
]
196196
run_target.check_run('zeditor', args)
197197
tsv = tsv_path.read_text().splitlines()
198-
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')
198+
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 8 0 8 0 0 0 0 1 1 0 0 6')
199199
self.assertEqual(len(tsv), 37)
200200

201201
def test_package_export(self):

0 commit comments

Comments
 (0)