demo playback fixes

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1155 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2007-06-15 19:46:30 +00:00
parent 7a752f8302
commit 040fed8593
4 changed files with 6 additions and 3 deletions
+1
View File
@@ -90,6 +90,7 @@ void text_endcolumns()
int text_width(const char *str, int limit)
{
if(!str) return 0;
int x = 0, col = 0;
for(int i = 0; str[i] && (limit<0 || i<limit); i++)
{