EditSaveMsg/ChangeOrigin was broken.

This commit is contained in:
Ianos Gnatiuc 2007-01-09 00:01:38 +00:00
parent a2804d0dcb
commit 460db4b451

View File

@ -630,7 +630,7 @@ int SelectFromFile(const char* file, char* selection, const char* title, const c
strcat(buf, " "); strcat(buf, " ");
if(strlen(buf) > MAXCOL-2-2) if(strlen(buf) > MAXCOL-2-2)
buf[MAXCOL-2-2] = NUL; buf[MAXCOL-2-2] = NUL;
Listi[n] = throw_strdup(buf); Listi.push_back(buf);
} }
n = MinV(n, (MAXROW-10)); n = MinV(n, (MAXROW-10));