X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmain.C;h=9b4d8ddd727956d578d1cd1d25020503277f7a74;hb=a858be7332e331e0244e4dba7b0931b6072ffd3d;hp=cb1e53a451287937ab92d5f421da2eb1fbc4e660;hpb=27de1486ca34aaad446adb798d71a77d6f6304da;p=lyx.git diff --git a/src/main.C b/src/main.C index cb1e53a451..9b4d8ddd72 100644 --- a/src/main.C +++ b/src/main.C @@ -3,8 +3,8 @@ * * LyX, The Document Processor * - * Copyright (C) 1995 Matthias Ettrich - * Copyright (C) 1995-1999 The LyX Team. + * Copyright 1995 Matthias Ettrich + * Copyright 1995-1999 The LyX Team. * *======================================================*/ @@ -13,13 +13,7 @@ #include "lyx_main.h" #include "gettext.h" #include "LString.h" -#include "filetools.h" - -// $Id: main.C,v 1.1 1999/09/27 18:44:38 larsbj Exp $ - -#if !defined(lint) && !defined(WITH_WARNINGS) -static char vcid[] = "$Id: main.C,v 1.1 1999/09/27 18:44:38 larsbj Exp $"; -#endif /* lint */ +#include "support/filetools.h" // I keep these here so that it will be processed as early in // the compilation process as possible. @@ -34,7 +28,7 @@ static char vcid[] = "$Id: main.C,v 1.1 1999/09/27 18:44:38 larsbj Exp $"; int main(int argc, char *argv[]) { // lyx_localedir is used by gettext_init() is we have // i18n support built-in - LString lyx_localedir = getEnvPath("LYX_LOCALEDIR"); + string lyx_localedir = GetEnvPath("LYX_LOCALEDIR"); if (lyx_localedir.empty()) lyx_localedir = LOCALEDIR;