forked from mia/Aegisub
Fix gcc compilation error
Originally committed to SVN as r6277.
This commit is contained in:
parent
85733835d1
commit
7031ba807b
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ void GetWordBoundaries(const wxString text, IntPairVector &results, int start, i
|
||||||
|
|
||||||
for (int i = start; i < end + 1; ++i) {
|
for (int i = start; i < end + 1; ++i) {
|
||||||
// Current character
|
// Current character
|
||||||
wxUniChar cur = i < end ? text[i] : '.';
|
wxUniChar cur = i < end ? text[i] : wxUniChar('.');
|
||||||
|
|
||||||
// Increase depth
|
// Increase depth
|
||||||
if (cur == '{') {
|
if (cur == '{') {
|
||||||
|
|
Loading…
Reference in a new issue