diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-11-01 02:27:17 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-11-01 02:27:17 +0000 |
| commit | eb19a6b69e89c6adae1b99705b0a26edc344c87a (patch) | |
| tree | a1d98fe35fdf9117692d6b383122ef199fff1b38 /util/epist/main.cc | |
| parent | 54c96668d958c0604f697958db6a7c5268d7b4a5 (diff) | |
make epist compile with the new code base
Diffstat (limited to 'util/epist/main.cc')
| -rw-r--r-- | util/epist/main.cc | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/util/epist/main.cc b/util/epist/main.cc index 2f39212e..f873717d 100644 --- a/util/epist/main.cc +++ b/util/epist/main.cc @@ -48,15 +48,10 @@ using std::string; #include "../../version.h" #include "epist.hh" -#include "../../src/i18n.hh" - -I18n i18n; static void usage(); int main(int argc, char **argv) { - i18n.openCatalog("openbox.cat"); - // parse the command line char *display_name = 0; char *rc_file = 0; @@ -65,15 +60,13 @@ int main(int argc, char **argv) { const string argvi(argv[i]); if (argvi == "-display") { if (++i >= argc) { - fprintf(stderr, i18n(mainSet, mainDISPLAYRequiresArg, - "error: '-display' requires an argument\n")); + fprintf(stderr, "error: '-display' requires an argument\n"); exit(1); } display_name = argv[i]; } else if (argvi == "-rc") { if (++i >= argc) { - fprintf(stderr, i18n(mainSet, mainRCRequiresArg, - "error: '-rc' requires an argument\n")); + fprintf(stderr, "error: '-rc' requires an argument\n"); exit(1); } rc_file = argv[i]; |
