and stop complaintin abotu un-inited variables.
SVN revision: 110
This commit is contained in:
parent
43f51931b4
commit
f71eb25183
|
@ -823,6 +823,8 @@ LoadSnapInfo(void)
|
||||||
f = fopen(buf, "r");
|
f = fopen(buf, "r");
|
||||||
if (!f)
|
if (!f)
|
||||||
return;
|
return;
|
||||||
|
res_w = root.w;
|
||||||
|
res_h = root.h;
|
||||||
while (fgets(buf, sizeof(buf), f))
|
while (fgets(buf, sizeof(buf), f))
|
||||||
{
|
{
|
||||||
/* nuke \n */
|
/* nuke \n */
|
||||||
|
|
Loading…
Reference in New Issue