From eb19a6b69e89c6adae1b99705b0a26edc344c87a Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 1 Nov 2002 02:27:17 +0000 Subject: make epist compile with the new code base --- util/epist/main.cc | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'util/epist/main.cc') 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]; -- cgit v1.2.3