From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tommy McCabe Subject: Broken-up patch #8 Date: Fri, 28 May 2004 16:15:22 -0700 (PDT) Sender: linux-8086-owner@vger.kernel.org Message-ID: <20040528231522.16564.qmail@web51307.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="0-741369074-1085786122=:15023" Return-path: List-Id: To: linux-8086@vger.kernel.org --0-741369074-1085786122=:15023 Content-Type: text/plain; charset=us-ascii Content-Id: Content-Disposition: inline Comments out lines where, something like if x = ' '. __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ --0-741369074-1085786122=:15023 Content-Type: text/x-diff; name="patch7.diff" Content-Description: patch7.diff Content-Disposition: inline; filename="patch7.diff" --- ./elks-stuff/elkscmd/levee/insert.c 2004-05-28 16:02:01.000000000 -0400 +++ ./elks/elkscmd/levee/insert.c 2004-05-28 19:10:00.000000000 -0400 @@ -85,13 +85,14 @@ Dflag = (cp==0 || core[cp-1]==EOL); do { if (Dflag) - while ((cmd=peekc()) == '' || cmd == '') { - if (readchar() == '') + /* while ((cmd=peekc()) == ' ' || cmd == ' ') { + if (readchar() == ' ') currDLE = min(COLS,currDLE+shiftwidth); else currDLE = max(0,currDLE-shiftwidth); mvcur(-1, currDLE); } + */ } while (!(c = line(core, cp, endd-1, &len))); if (Dflag && (len > 0 || c == ESC)) { /* makeDLE : optimize leading whitespace for insert */ --0-741369074-1085786122=:15023--