diff options
Diffstat (limited to 'src/Workspace.cc')
-rw-r--r-- | src/Workspace.cc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/Workspace.cc b/src/Workspace.cc index 761cdb1..6b93c5d 100644 --- a/src/Workspace.cc +++ b/src/Workspace.cc | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: Workspace.cc,v 1.16 2002/04/03 23:04:01 fluxgen Exp $ | 25 | // $Id: Workspace.cc,v 1.17 2002/04/04 11:28:19 fluxgen Exp $ |
26 | 26 | ||
27 | // use GNU extensions | 27 | // use GNU extensions |
28 | #ifndef _GNU_SOURCE | 28 | #ifndef _GNU_SOURCE |
@@ -351,11 +351,7 @@ void Workspace::setName(char *new_name) { | |||
351 | char tname[128]; | 351 | char tname[128]; |
352 | sprintf(tname, I18n::instance()-> | 352 | sprintf(tname, I18n::instance()-> |
353 | getMessage( | 353 | getMessage( |
354 | #ifdef NLS | 354 | FBNLS::WorkspaceSet, FBNLS::WorkspaceDefaultNameFormat, |
355 | WorkspaceSet, WorkspaceDefaultNameFormat, | ||
356 | #else // !NLS | ||
357 | 0, 0, | ||
358 | #endif // NLS | ||
359 | "Workspace %d"), id + 1); | 355 | "Workspace %d"), id + 1); |
360 | name = tname; | 356 | name = tname; |
361 | } | 357 | } |