*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1199 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2007-08-07 11:58:38 +00:00
parent e295b3d8f8
commit 37cc897882
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -134,7 +134,7 @@ void text_block(const char *str, int max, vector<char *> &lines)
{
if(!str) return;
int visible;
while((visible = max ? text_visible(str, max) : strlen(str)))
while((visible = max ? text_visible(str, max) : (int)strlen(str)))
{
const char *newline = (const char *)memchr(str, '\n', visible);
if(newline) visible = newline+1-str;