X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Frmf.c;h=374d752aef5e5181e01394b08f46e7f84665cdde;hb=d3ba09a465cb0e5fc9a74d0b152a7ed965f895cb;hp=48a555e9bd89da605f93e7f51217196e86677214;hpb=b0b1dd37ff515578cf7cba51625189eb34a196cb;p=mmh diff --git a/uip/rmf.c b/uip/rmf.c index 48a555e..374d752 100644 --- a/uip/rmf.c +++ b/uip/rmf.c @@ -113,7 +113,7 @@ main(int argc, char **argv) if (rmf(folder) == OK) { char *cfolder = context_find(curfolder); - if (cfolder && strcmp(cfolder, newfolder)) { + if (cfolder && strcmp(cfolder, newfolder)!=0) { printf("[+%s now current]\n", newfolder); /* update current folder */ context_replace(curfolder, newfolder);