summaryrefslogtreecommitdiff
path: root/navit/main.c
diff options
context:
space:
mode:
authorStefan Wildemann <metalstrolch@users.noreply.github.com>2019-08-07 13:29:37 +0200
committerGitHub <noreply@github.com>2019-08-07 13:29:37 +0200
commitab4d8087a349fa580a4fca1053eca44b1813be16 (patch)
tree5a46cbfe341efebc8c8e5c64ce79deefb1212da9 /navit/main.c
parent6bc6c0cca6c105450f7cc6f080c72d99f87c173f (diff)
downloadnavit-ab4d8087a349fa580a4fca1053eca44b1813be16.tar.gz
fix:core: Correct default layout handling. (#816)
This commit corrects the default layout handling broken when splitting the layouts to own files. It restores the layout saving of the internal gui. So now it starts again with the last selected layout.
Diffstat (limited to 'navit/main.c')
-rw-r--r--navit/main.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/navit/main.c b/navit/main.c
index 986947f0d..f4a59970d 100644
--- a/navit/main.c
+++ b/navit/main.c
@@ -328,10 +328,6 @@ static void win_set_nls(void) {
}
#endif
-void main_update_default_layout(struct navit *navit) {
- navit_update_current_layout(navit, NULL);
-}
-
void main_init(const char *program) {
char *s;
#ifdef _UNICODE /* currently for wince */