Hotfix crash bug when load .wch file
This commit is contained in:
parent
993b6fbb2c
commit
74853a83fb
|
@ -623,6 +623,7 @@ bool Load_Watches(bool clear, const char* filename)
|
||||||
Temp.Address = 0; // default values
|
Temp.Address = 0; // default values
|
||||||
Temp.Size = 'b';
|
Temp.Size = 'b';
|
||||||
Temp.Type = 'h';
|
Temp.Type = 'h';
|
||||||
|
Temp.comment = NULL;
|
||||||
char mode;
|
char mode;
|
||||||
char Str_Tmp[1024];
|
char Str_Tmp[1024];
|
||||||
fgets(Str_Tmp,1024,WatchFile);
|
fgets(Str_Tmp,1024,WatchFile);
|
||||||
|
|
Loading…
Reference in New Issue