diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-08-09 05:53:09 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-08-09 06:12:21 +0300 |
commit | 115c8671902a884a2659c9c60b77fd2bda2696d3 (patch) | |
tree | a76def99ef734e1d6971561e2ccf6c9657e4aadd /source/blender/windowmanager/intern/wm_init_exit.c | |
parent | 281f4eb964c3cbb84967f4318e5c16ac68fd4a3c (diff) |
Fix: opening missing file didnt remove in recent-files.txt
Refactor recent-file.txt handling, split into smaller functions.
It wasn't possible to write the current state to disk (depended on current context).
Diffstat (limited to 'source/blender/windowmanager/intern/wm_init_exit.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm_init_exit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_init_exit.c b/source/blender/windowmanager/intern/wm_init_exit.c index 9750bfd2f7f..bde6db259bc 100644 --- a/source/blender/windowmanager/intern/wm_init_exit.c +++ b/source/blender/windowmanager/intern/wm_init_exit.c @@ -230,7 +230,7 @@ void WM_init(bContext *C, int argc, const char **argv) // glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); - wm_read_history(); + wm_history_file_read(); /* allow a path of "", this is what happens when making a new file */ #if 0 |