home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Minor refactoring in file parsing.
[plomrogue]
/
src
/
common
/
readwrite.c
diff --git
a/src/common/readwrite.c
b/src/common/readwrite.c
index 3dcd2a2d90ec307d86a6c23fe99a36048725e143..c2c970d292cb9579d5e6fddc64eb733ac3524246 100644
(file)
--- a/
src/common/readwrite.c
+++ b/
src/common/readwrite.c
@@
-108,8
+108,8
@@
extern uint32_t textfile_width(FILE * file)
{
break;
}
- exit_trouble(UINT32_MAX == c_count, f_name, "too large text file line");
c_count++;
+ exit_trouble(UINT32_MAX == c_count, f_name, "too large text file line");
if ('\n' == c)
{
if (c_count > linemax)