mirror of
https://github.com/leozide/leocad
synced 2025-01-17 18:11:42 +01:00
Fixed Linux preferences not being saved correctly.
This commit is contained in:
parent
cd71a02c95
commit
b2d80bf128
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ static bool save_var (const char *section, const char *key, const char *value)
|
|||
len = ftell (rc);
|
||||
rewind (rc);
|
||||
buf = g_malloc (len);
|
||||
len = fread (buf, len, 1, rc);
|
||||
len = fread (buf, 1, len, rc);
|
||||
old_rc.WriteBuffer (buf, len);
|
||||
g_free (buf);
|
||||
fclose (rc);
|
||||
|
|
Loading…
Reference in a new issue