# HG changeset patch # User Erik Naggum # Date 840702210 0 # Node ID 3a3c30116313da61a33052f7296496f1211d00e0 # Parent 85112cca0b2271206495f047f671c221c2e16c92 (change_frame_size_1): Clean up conditional. diff -r 85112cca0b22 -r 3a3c30116313 src/dispnew.c --- a/src/dispnew.c Thu Aug 22 02:57:09 1996 +0000 +++ b/src/dispnew.c Thu Aug 22 08:23:30 1996 +0000 @@ -2134,8 +2134,10 @@ FRAME_NEW_WIDTH (frame) = 0; /* If an argument is zero, set it to the current value. */ - newheight || (newheight = FRAME_HEIGHT (frame)); - newwidth || (newwidth = FRAME_WIDTH (frame)); + if (newheight == 0) + newheight = FRAME_HEIGHT (frame); + if (newwidth == 0) + newwidth = FRAME_WIDTH (frame); /* Round up to the smallest acceptable size. */ check_frame_size (frame, &newheight, &newwidth);