Mailinglist Archive: yast-commit (126 mails)

< Previous Next >
[yast-commit] r67635 - /trunk/ncurses/src/NCRichText.cc
Author: gs
Date: Thu Mar 15 10:32:55 2012
New Revision: 67635

URL: http://svn.opensuse.org/viewcvs/yast?rev=67635&view=rev
Log:
improve lists: only add new line at the very end

Modified:
trunk/ncurses/src/NCRichText.cc

Modified: trunk/ncurses/src/NCRichText.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/NCRichText.cc?rev=67635&r1=67634&r2=67635&view=diff
==============================================================================
--- trunk/ncurses/src/NCRichText.cc (original)
+++ trunk/ncurses/src/NCRichText.cc Thu Mar 15 10:32:55 2012
@@ -965,8 +965,8 @@
PadChangeLevel( endtag, leveltag );
PadBOL();
// add new line after end of the list
-
- if ( endtag )
+ // (only at the very end)
+ if ( endtag && !cindent )
PadNL();

break;

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages