Create /tags directory if it doesn't exist when loading
global tags. git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1661 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
90d529f289
commit
e84ef634c8
@ -14,6 +14,9 @@
|
||||
Capitalize 2 menu item labels.
|
||||
* plugins/classbuilder.c:
|
||||
Make Class Builder dialog close when pressing escape.
|
||||
* src/symbols.c:
|
||||
Create $configdir/tags directory if it doesn't exist when loading
|
||||
global tags.
|
||||
|
||||
|
||||
2007-07-02 Enrico Tröger <enrico.troeger@uvena.de>
|
||||
|
@ -845,6 +845,12 @@ static GHashTable *init_user_tags()
|
||||
|
||||
// don't need to delete list contents because they are now used for hash contents
|
||||
g_slist_free(file_list);
|
||||
|
||||
// create the tags dir for next time if it doesn't exist
|
||||
if (! g_file_test(user_tags_dir, G_FILE_TEST_IS_DIR))
|
||||
{
|
||||
utils_mkdir(user_tags_dir, FALSE);
|
||||
}
|
||||
return lang_hash;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user