Look for e16keyedit.db in default location if EROOT is not set.

SVN revision: 40498
master
Kim Woelders 14 years ago
parent a1c4f04ea2
commit 0970cfedb4
  1. 1
      Makefile.am
  2. 2
      viewer.c

@ -4,3 +4,4 @@ bin_PROGRAMS = e16keyedit
e16keyedit_SOURCES = ipc.c ipc.h menus.c menus.h viewer.c viewer.h
CPPFLAGS = -D DATADIR=\"$(datadir)\"

@ -871,7 +871,7 @@ load_actions(void)
s = getenv("EROOT");
if (!s)
return;
s = DATADIR "/e16"; /* Default location */
snprintf(kbdb, sizeof(kbdb), "%s/config/e16keyedit.db", s);

Loading…
Cancel
Save