From kdevelop-bugs Sat May 28 22:59:12 2005 From: kdevelop-bugs-admin () barney ! cs ! uni-potsdam ! de Date: Sat, 28 May 2005 22:59:12 +0000 To: kdevelop-bugs Subject: [Bug 105396] keep one-line blocks option does nothing Message-Id: <20050528225912.2757.qmail () ktown ! kde ! org> X-MARC-Message: https://marc.info/?l=kdevelop-bugs&m=118306937407187 ------- 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));