diff options
author | Arisotura <thetotalworm@gmail.com> | 2020-08-15 00:14:05 +0200 |
---|---|---|
committer | Arisotura <thetotalworm@gmail.com> | 2020-08-15 00:14:05 +0200 |
commit | f8d1d08e9c13d39ccb6d0c50ae74e7bbe9ed52c8 (patch) | |
tree | c1e1870c4a344b63e625049daeb17bbda7cdbe1f /src/Config.cpp | |
parent | 4299ef5f067c0f7aac338fbdd5e36726f8c8af64 (diff) |
(finally) build the goddamn cheat interface
Diffstat (limited to 'src/Config.cpp')
-rw-r--r-- | src/Config.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Config.cpp b/src/Config.cpp index de1c70d..d198093 100644 --- a/src/Config.cpp +++ b/src/Config.cpp @@ -104,7 +104,7 @@ void Load() while (!feof(f)) { fgets(linebuf, 1024, f); - int ret = sscanf(linebuf, "%31[A-Za-z_0-9]=%[^\t\n]", entryname, entryval); + int ret = sscanf(linebuf, "%31[A-Za-z_0-9]=%[^\t\r\n]", entryname, entryval); entryname[31] = '\0'; if (ret < 2) continue; |