Dammit raster, I'm trying to cut down the amount of over processing being
authorDavid Walter Seikel <onefang@gmail.com>
Wed, 25 Jan 2006 11:22:40 +0000 (11:22 +0000)
committerDavid Walter Seikel <onefang@gmail.com>
Wed, 25 Jan 2006 11:22:40 +0000 (11:22 +0000)
done on these strings.

SVN revision: 20029

src/bin/e_apps_error.c

index 9ef6e69..8d2aa26 100644 (file)
@@ -179,7 +179,7 @@ _e_app_error_dialog_scrolltext_create(Evas *evas, char *title, Ecore_Exe_Event_D
 
    tlen = 0;
    for (i = 0; lines[i].line != NULL; i++)
-     tlen += strlen(lines[i].line) + 1;
+     tlen += lines[i].size + 1;
    text = alloca(tlen + 1);
    if (text)
      {