File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
src/de/haukerehfeld/quakeinjector Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 41
41
42
42
public class EngineOutputDialog extends JDialog {
43
43
private final static String windowTitle = "Engine Output" ;
44
+ private final static String outputQIPrefix = "[Quake Injector]: " ;
44
45
45
46
private final InputStream engineOut ;
46
47
@@ -79,7 +80,7 @@ public Void doInBackground() {
79
80
BufferedReader b = new BufferedReader (in );
80
81
81
82
82
- output .append ("Starting engine...\n " );
83
+ output .append (outputQIPrefix + "Starting engine...\n " );
83
84
String line ;
84
85
int lineCount = 0 ;
85
86
while ((line = b .readLine ()) != null ) {
@@ -96,15 +97,15 @@ public Void doInBackground() {
96
97
});
97
98
}
98
99
if (lineCount == 0 ) {
99
- output .append ("Done with no output.\n " );
100
+ output .append (outputQIPrefix + "Done with no output.\n " );
100
101
}
101
102
else {
102
- output .append ("Done.\n " );
103
+ output .append (outputQIPrefix + "Done.\n " );
103
104
}
104
105
105
106
}
106
107
catch (java .io .IOException e ) {
107
- output .append ("Error: Couldn't read engine output from stream" );
108
+ output .append (outputQIPrefix + "Error: Couldn't read engine output from stream" );
108
109
}
109
110
110
111
return null ;
You can’t perform that action at this time.
0 commit comments