summaryrefslogtreecommitdiff
path: root/src/fe-common/core
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2015-04-11 15:09:49 -0300
committerdequis <dx@dxzone.com.ar>2015-04-11 15:09:53 -0300
commit9890daca797b31d34d97d953c512378aabe3d51f (patch)
tree902f884cdf223229e440d9b05651e225b876ad39 /src/fe-common/core
parentef0877f4849a73ba43e886a9faafb321d3559e43 (diff)
downloadirssi-9890daca797b31d34d97d953c512378aabe3d51f.zip
Handle nulls properly in the g_strcmp0() for glib<2.16
I wrote some tests to compare the behavior but I don't know where to put them, so i'm including them here: assert(g_strcmp0("a", "b") == -1); assert(g_strcmp0(NULL, "a") == -1); assert(g_strcmp0("a", NULL) == 1); assert(g_strcmp0("b", "a") == 1); assert(g_strcmp0("a", "a") == 0); assert(g_strcmp0(NULL, NULL) == 0);
Diffstat (limited to 'src/fe-common/core')
0 files changed, 0 insertions, 0 deletions