diff --git a/src/apps/terminal/TermApp.cpp b/src/apps/terminal/TermApp.cpp index 5732bad6ed..20a942b4d6 100644 --- a/src/apps/terminal/TermApp.cpp +++ b/src/apps/terminal/TermApp.cpp @@ -373,7 +373,7 @@ TermApp::MakeTermWindow(BRect &frame) if (cols < MIN_COLS) gTermPref->setInt32(PREF_COLS, cols = MIN_COLS); - int pfd = spawn_shell(rows, cols, command, encoding); + pfd = spawn_shell(rows, cols, command, encoding); if (pfd < 0) return pfd;