summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp
index f14de7a..cdb3287 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -566,7 +566,7 @@ namespace procman
gtk_tree_model_get(model, iter, column, &current_value, -1);
- if (!current_value or std::strcmp(current_value, new_value) != 0)
+ if (g_strcmp0(current_value, new_value) != 0)
gtk_tree_store_set(GTK_TREE_STORE(model), iter, column, new_value, -1);
g_free(current_value);