mirror of https://github.com/odrling/Aegisub
Fix gcc compilation error
Originally committed to SVN as r6277.
This commit is contained in:
parent
85733835d1
commit
7031ba807b
|
@ -220,7 +220,7 @@ void GetWordBoundaries(const wxString text, IntPairVector &results, int start, i
|
|||
|
||||
for (int i = start; i < end + 1; ++i) {
|
||||
// Current character
|
||||
wxUniChar cur = i < end ? text[i] : '.';
|
||||
wxUniChar cur = i < end ? text[i] : wxUniChar('.');
|
||||
|
||||
// Increase depth
|
||||
if (cur == '{') {
|
||||
|
|
Loading…
Reference in New Issue