[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 105396] keep one-line blocks option does nothing
From:       "Steven T.Hatton" <hattons () globalsymmetry ! com>
Date:       2005-05-28 22:59:12
Message-ID: 20050528225912.2762.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=105396         




------- Additional Comments From hattons globalsymmetry com  2005-05-29 00:59 -------
After spending hours trying to figure out how this all works, I now realize 
what the problem is.  "No" really means "Yes".

kdevelop/parts/astyle/astyle_adaptor.cpp

change lines 96 and 97 from:

  setBreakOneLineBlocksMode(config->readBoolEntry("KeepBlocks", false));
  setSingleStatementsMode(config->readBoolEntry("KeepStatements", false));

to:

  setBreakOneLineBlocksMode(!config->readBoolEntry("KeepBlocks", false));
  setSingleStatementsMode(!config->readBoolEntry("KeepStatements", false));
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic