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

List:       kdevelop-bugs
Subject:    [Bug 105396] keep one-line blocks option does nothing
From:       kdevelop-bugs-admin () barney ! cs ! uni-potsdam ! de
Date:       2005-05-28 22:59:12
Message-ID: 20050528225912.2757.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
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