[geany/geany-plugins] 91bf41: Merge pull request #419 from techee/scope_fix
Jiří Techet
git-noreply at xxxxx
Thu Jun 23 15:19:18 UTC 2016
Branch: refs/heads/master
Author: Jiří Techet <techet at gmail.com>
Committer: GitHub <noreply at github.com>
Date: Thu, 23 Jun 2016 15:19:18 UTC
Commit: 91bf414938eeaa58b09e2779040c903ba172a172
https://github.com/geany/geany-plugins/commit/91bf414938eeaa58b09e2779040c903ba172a172
Log Message:
-----------
Merge pull request #419 from techee/scope_fix
scope: Fix validate_number()
Modified Paths:
--------------
scope/src/utils.c
Modified: scope/src/utils.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -651,7 +651,7 @@ static gchar *validate_number(gchar *text)
for (s = text; isdigit(*s); s++);
*s = '\0';
return *text && (s - text < 10 ||
- (s - text == 10 && strcmp(text, "2147483648")) < 0) ? text : NULL;
+ (s - text == 10 && strcmp(text, "2147483648") < 0)) ? text : NULL;
}
gchar *validate_column(gchar *text, gboolean string)
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Plugins-Commits
mailing list