From e9d5d42ea979829541bfc5b690bc8f184bfe5dd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?eray=20or=C3=A7unus?= Date: Wed, 17 Jun 2020 11:11:44 +0300 Subject: fix clipped subtitles --- src/render/Font.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/render/Font.cpp b/src/render/Font.cpp index 2c2f2115..a3ead932 100644 --- a/src/render/Font.cpp +++ b/src/render/Font.cpp @@ -1069,9 +1069,6 @@ CFont::GetNextSpace(wchar *s) if(*s == '~'){ s++; while(*s != '~') s++; - s++; - if(*s == ' ') - break; } } return s; -- cgit v1.2.3