Fixed crash bug when loading label including whitespace.
This commit is contained in:
parent
06b94d7f6d
commit
8d1d780b73
1 changed files with 1 additions and 1 deletions
|
|
@ -20604,7 +20604,7 @@ static void load_info_about_label_surface(FILE * lfi)
|
||||||
wchar_t *wtmpstr;
|
wchar_t *wtmpstr;
|
||||||
tmpstr = malloc(1024);
|
tmpstr = malloc(1024);
|
||||||
wtmpstr = malloc(1024);
|
wtmpstr = malloc(1024);
|
||||||
fscanf(lfi, "%s\n", tmpstr);
|
fgets(tmpstr, 1024, lfi);
|
||||||
mtw(wtmpstr, tmpstr);
|
mtw(wtmpstr, tmpstr);
|
||||||
for(l = 0; l < new_node->save_texttool_len; l++)
|
for(l = 0; l < new_node->save_texttool_len; l++)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue