mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Rename identification file
This commit is contained in:
parent
46f0304f89
commit
ee0541a262
@ -2,6 +2,7 @@
|
||||
* files.h
|
||||
*
|
||||
* Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
|
||||
* Copyright (C) 2018 - 2019 Michael Vetter <jubalh@idoru.org>
|
||||
*
|
||||
* This file is part of Profanity.
|
||||
*
|
||||
@ -43,7 +44,7 @@
|
||||
#define FILE_PLUGIN_SETTINGS "plugin_settings"
|
||||
#define FILE_PLUGIN_THEMES "plugin_themes"
|
||||
#define FILE_CAPSCACHE "capscache"
|
||||
#define FILE_RND_INST_BYTES "randbytes"
|
||||
#define FILE_PROFANITY_IDENTIFIER "profident"
|
||||
|
||||
#define DIR_THEMES "themes"
|
||||
#define DIR_ICONS "icons"
|
||||
|
@ -2,6 +2,7 @@
|
||||
* connection.c
|
||||
*
|
||||
* Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
|
||||
* Copyright (C) 2018 - 2019 Michael Vetter <jubalh@idoru.org>
|
||||
*
|
||||
* This file is part of Profanity.
|
||||
*
|
||||
@ -624,7 +625,7 @@ static void _random_bytes_init()
|
||||
char *rndbytes_loc;
|
||||
GKeyFile *rndbytes;
|
||||
|
||||
rndbytes_loc = files_get_data_path(FILE_RND_INST_BYTES);
|
||||
rndbytes_loc = files_get_data_path(FILE_PROFANITY_IDENTIFIER);
|
||||
|
||||
if (g_file_test(rndbytes_loc, G_FILE_TEST_EXISTS)) {
|
||||
g_chmod(rndbytes_loc, S_IRUSR | S_IWUSR);
|
||||
|
Loading…
Reference in New Issue
Block a user