diff options
Diffstat (limited to 'src/common/core.c')
-rw-r--r-- | src/common/core.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/core.c b/src/common/core.c index deac7a514..3cde639f6 100644 --- a/src/common/core.c +++ b/src/common/core.c @@ -139,7 +139,7 @@ const char* get_svn_revision(void) char line[1024]; int rev; // Check the version - if (fgets(line,sizeof(line),fp)) + if (fgets(line, sizeof(line), fp)) { if(!ISDIGIT(line[0])) { @@ -153,9 +153,9 @@ const char* get_svn_revision(void) else { // Bin File format - fgets(line,sizeof(line),fp); // Get the name - fgets(line,sizeof(line),fp); // Get the entries kind - if(fgets(line,sizeof(line),fp)) // Get the rev numver + fgets(line, sizeof(line), fp); // Get the name + fgets(line, sizeof(line), fp); // Get the entries kind + if(fgets(line, sizeof(line), fp)) // Get the rev numver { snprintf(eA_svn_version, sizeof(eA_svn_version), "%d", atoi(line)); } |