diff options
author | Daniel Carl <danielcarl@gmx.de> | 2013-09-21 18:27:02 +0200 |
---|---|---|
committer | Daniel Carl <danielcarl@gmx.de> | 2013-09-21 18:27:02 +0200 |
commit | 55f9e04485a5978eb5040203cf6ef9c39c7593aa (patch) | |
tree | 8ad2f313dfa57faed9f69c59f2d8d85304be20f0 /src/util.c | |
parent | d14b54356e8d07f18a7d829a7c9e100f39d336ff (diff) |
Cleaned the code a little.
Remove already solved tasks and changed most of the *var == '\0' into !*var
expressions.
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -131,7 +131,7 @@ GList *util_file_to_unique_list(const char *filename, Util_Content_Func func, for (int i = len - 1; i >= 0; i--) { line = lines[i]; g_strstrip(line); - if (*line == '\0') { + if (!*line) { continue; } |