kwo pushed a commit to branch master. http://git.enlightenment.org/e16/e16.git/commit/?id=6ebf4fe167e171460759309a49755f7a8a9b4c51
commit 6ebf4fe167e171460759309a49755f7a8a9b4c51 Author: Kim Woelders <k...@woelders.dk> Date: Sat Apr 19 07:09:54 2014 +0200 Cosmetics. --- src/pager.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pager.c b/src/pager.c index 8cd979e..40277cf 100644 --- a/src/pager.c +++ b/src/pager.c @@ -1,6 +1,6 @@ /* * Copyright (C) 2000-2007 Carsten Haitzler, Geoff Harrison and various contributors - * Copyright (C) 2004-2013 Kim Woelders + * Copyright (C) 2004-2014 Kim Woelders * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to @@ -400,7 +400,7 @@ doPagerUpdate(Pager * p) p->do_update = 0; gc = EXCreateGC(pmap, 0, NULL); - if (gc == NoXID) + if (!gc) return; Dprintf("doPagerUpdate %d: Repaint\n", p->dsk->num); @@ -623,7 +623,7 @@ PagerUpdateBg(Pager * p) } gc = EXCreateGC(pmap, 0, NULL); - if (gc == NoXID) + if (!gc) return; XSetForeground(disp, gc, Dpy.pixel_black); --