* Fix an undefined operation in the FTGL demo.
diff --git a/demo/FTGLDemo.cpp b/demo/FTGLDemo.cpp
index 4a3ebb8..272d113 100644
--- a/demo/FTGLDemo.cpp
+++ b/demo/FTGLDemo.cpp
@@ -408,7 +408,7 @@ void parsekey(unsigned char key, int x, int y)
{
myString[carat] = key;
myString[carat + 1] = 0;
- carat = carat > 14 ? 14 : ++carat;
+ carat = carat > 14 ? 14 : carat + 1;
}
}