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:
@@ -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++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user