Changeset 4151
- Timestamp:
- 09/30/03 21:35:21 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/j/src/org/armedbear/j/CompilationBuffer.java
r2305 r4151 3 3 * 4 4 * Copyright (C) 1998-2003 Peter Graves 5 * $Id: CompilationBuffer.java,v 1.1 6 2003-06-12 13:48:29piso Exp $5 * $Id: CompilationBuffer.java,v 1.17 2003-09-30 21:35:21 piso Exp $ 6 6 * 7 7 * This program is free software; you can redistribute it and/or … … 219 219 File file = parentBuffer.getFile(); 220 220 if (file != null) { 221 sb.append(file.canonicalPath()); 221 String cp = file.canonicalPath(); 222 if (cp.indexOf(' ') >= 0) { 223 // Enclose filename in double quotes 224 // since it contains an embedded space. 225 sb.append('"'); 226 sb.append(cp); 227 sb.append('"'); 228 } else 229 sb.append(cp); 222 230 replaced = true; 223 231 }
Note: See TracChangeset
for help on using the changeset viewer.