[geany/geany-plugins] 607505: GProject: Replace NZV-makro with EMPTY-makro
Frank Lanitz
git-noreply at xxxxx
Sun Mar 23 10:24:11 UTC 2014
Branch: refs/heads/master
Author: Frank Lanitz <frank at frank.uvena.de>
Committer: Frank Lanitz <frank at frank.uvena.de>
Date: Sun, 23 Mar 2014 10:24:11 UTC
Commit: 607505f41d8743495e6b8fa4fde8f351f3cd27db
https://github.com/geany/geany-plugins/commit/607505f41d8743495e6b8fa4fde8f351f3cd27db
Log Message:
-----------
GProject: Replace NZV-makro with EMPTY-makro
Modified Paths:
--------------
gproject/src/gproject-utils.c
Modified: gproject/src/gproject-utils.c
4 files changed, 2 insertions(+), 2 deletions(-)
===================================================================
@@ -36,7 +36,7 @@ static gchar *relpath(const gchar *origin_dir, const gchar *dest_dir)
origin = tm_get_real_path(origin_dir);
dest = tm_get_real_path(dest_dir);
- if (!NZV(origin) || !NZV(dest) || origin[0] != dest[0])
+ if (EMPTY(origin) || EMPTY(dest) || origin[0] != dest[0])
{
g_free(origin);
g_free(dest);
@@ -65,7 +65,7 @@ static gchar *relpath(const gchar *origin_dir, const gchar *dest_dir)
g_free(dest);
g_strfreev(originv);
g_strfreev(destv);
-
+
return ret;
}
--------------
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