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

SVN revision: 40498
This commit is contained in:
Kim Woelders 2009-05-03 11:41:05 +00:00
parent a1c4f04ea2
commit 0970cfedb4
2 changed files with 2 additions and 1 deletions

View File

@ -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)\"

View File

@ -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);