File tree 1 file changed +1
-11
lines changed
app/src/processing/app/ui
1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -2293,19 +2293,9 @@ public void prepareRun() {
2293
2293
internalCloseRunner ();
2294
2294
statusEmpty ();
2295
2295
2296
- int headPadding ;
2297
-
2298
- try {
2299
- headPadding = Preferences .getInteger ("console.head_padding" );
2300
- } catch (NullPointerException e ) {
2301
- // We need to handle this exception to take care of old versions of
2302
- // preference files, i.e., "defaults.txt" and "preferences.txt" which
2303
- // may not have the attribute 'console.head_padding'.
2304
- headPadding = 10 ;
2305
- }
2306
-
2307
2296
// Do this to advance/clear the terminal window / dos prompt / etc.
2308
2297
// This may be useful especially when 'console.auto_clear' is false.
2298
+ int headPadding = Preferences .getInteger ("console.head_padding" );
2309
2299
for (int i = 0 ; i < headPadding ; i ++) console .message ("\n " , false );
2310
2300
2311
2301
// clear the console on each run, unless the user doesn't want to
You can’t perform that action at this time.
0 commit comments