Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Leherbauer2007-05-23 15:17:00 +0000
committerAnton Leherbauer2007-05-23 15:17:00 +0000
commitcada57636cac450803db994b24f7bda73e64afd6 (patch)
tree28ab30fcd3f365f36ede8dcb881306458e55a475 /core/org.eclipse.cdt.ui.tests/resources/formatter/preview
parent75a3ae889098e9e1d3ad9eaa7dd100d475aab848 (diff)
downloadorg.eclipse.cdt-cada57636cac450803db994b24f7bda73e64afd6.tar.gz
org.eclipse.cdt-cada57636cac450803db994b24f7bda73e64afd6.tar.xz
org.eclipse.cdt-cada57636cac450803db994b24f7bda73e64afd6.zip
Fix for 183220: line wrapping stops working for some expressions
Diffstat (limited to 'core/org.eclipse.cdt.ui.tests/resources/formatter/preview')
-rw-r--r--core/org.eclipse.cdt.ui.tests/resources/formatter/preview/After.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/org.eclipse.cdt.ui.tests/resources/formatter/preview/After.cpp b/core/org.eclipse.cdt.ui.tests/resources/formatter/preview/After.cpp
index 508e5ff98e0..1d1714954f9 100644
--- a/core/org.eclipse.cdt.ui.tests/resources/formatter/preview/After.cpp
+++ b/core/org.eclipse.cdt.ui.tests/resources/formatter/preview/After.cpp
@@ -47,8 +47,8 @@ int foo(int bar) const {
int array[]= { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 1000,
2000, 3000, 4000, 5000 };
int compare(int argument, int otherArgument) {
- return argument+otherArgument > argument*otherArgument+1000000 ? 100000+50000
- : 200000-30000;
+ return argument+otherArgument > argument*otherArgument+1000000 ? 100000
+ +50000 : 200000-30000;
}
class Other {
static void bar(int arg1, int arg2, int arg3, int arg4, int arg5, int arg6,

Back to the top