From 7031ba807b5f20b90be91ba8e5e70df22de48472 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Thu, 12 Jan 2012 21:33:14 +0000 Subject: [PATCH] Fix gcc compilation error Originally committed to SVN as r6277. --- aegisub/src/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/src/utils.cpp b/aegisub/src/utils.cpp index 21c80c6b3..01b3f2b2f 100644 --- a/aegisub/src/utils.cpp +++ b/aegisub/src/utils.cpp @@ -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 == '{') {