summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/de/fernflower/modules/decompiler/exps/NewExprent.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/de/fernflower/modules/decompiler/exps/NewExprent.java b/src/de/fernflower/modules/decompiler/exps/NewExprent.java
index eaa49ae..22ee631 100644
--- a/src/de/fernflower/modules/decompiler/exps/NewExprent.java
+++ b/src/de/fernflower/modules/decompiler/exps/NewExprent.java
@@ -307,7 +307,7 @@ public class NewExprent extends Exprent {
}
int start = enumconst ? 2 : 0;
- if(start < lstParameters.size()) {
+ if(!enumconst || start < lstParameters.size()) {
buf.append("(");
boolean firstpar = true;