diff options
-rw-r--r-- | src/ui/translation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/translation.c b/src/ui/translation.c index bbc1763e..2c7a9f30 100644 --- a/src/ui/translation.c +++ b/src/ui/translation.c | |||
@@ -360,7 +360,7 @@ static iBool processResult_Translation_(iTranslation *d) { | |||
360 | if (matchRange_RegExp(pattern, range_Block(resultData), &m)) { | 360 | if (matchRange_RegExp(pattern, range_Block(resultData), &m)) { |
361 | iString *translation = unquote_String_(collect_String(captured_RegExpMatch(&m, 1))); | 361 | iString *translation = unquote_String_(collect_String(captured_RegExpMatch(&m, 1))); |
362 | iString *marked = collectNew_String(); | 362 | iString *marked = collectNew_String(); |
363 | iRangecc line; | 363 | iRangecc line = iNullRange; |
364 | size_t lineIndex = 0; | 364 | size_t lineIndex = 0; |
365 | while (nextSplit_Rangecc(range_String(translation), "\n", &line)) { | 365 | while (nextSplit_Rangecc(range_String(translation), "\n", &line)) { |
366 | iRangecc cleanLine = trimmed_Rangecc(line); | 366 | iRangecc cleanLine = trimmed_Rangecc(line); |