[geany/geany] b40d1f: Use explicit character literal instead of numerical value

Colomban Wendling git-noreply at xxxxx
Thu Feb 11 14:36:06 UTC 2016


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Mon, 25 Jan 2016 21:22:51 UTC
Commit:      b40d1f255bcfb1c58c2d038f046bd5d7777e4be2
             https://github.com/geany/geany/commit/b40d1f255bcfb1c58c2d038f046bd5d7777e4be2

Log Message:
-----------
Use explicit character literal instead of numerical value


Modified Paths:
--------------
    tagmanager/ctags/get.c

Modified: tagmanager/ctags/get.c
6 lines changed, 3 insertions(+), 3 deletions(-)
===================================================================
@@ -801,9 +801,9 @@ extern int cppGetc (void)
 					 * 	"xxx(raw)xxx";
 					 *
 					 * which is perfectly valid (yet probably very unlikely). */
-					int prev = fileGetNthPrevC (1, 0);
-					int prev2 = fileGetNthPrevC (2, 0);
-					int prev3 = fileGetNthPrevC (3, 0);
+					int prev = fileGetNthPrevC (1, '\0');
+					int prev2 = fileGetNthPrevC (2, '\0');
+					int prev3 = fileGetNthPrevC (3, '\0');
 
 					if (! isident (prev) ||
 					    (! isident (prev2) && (prev == 'L' || prev == 'u' || prev == 'U')) ||



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list