mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-28 23:16:21 +00:00
Cleanup: gchar as gchar instead of char
Use gchar instead of char in most of the cases where gchar is intended. Reason: improve compatibility and stability. Issue #1819 Minor refactoring.
This commit is contained in:
@@ -114,7 +114,7 @@ files_get_inputrc_file(void)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
char*
|
||||
gchar*
|
||||
files_get_log_file(const char* const log_file)
|
||||
{
|
||||
gchar* xdg_data = _files_get_xdg_data_home();
|
||||
@@ -139,7 +139,7 @@ files_get_log_file(const char* const log_file)
|
||||
g_string_append(logfile, ".log");
|
||||
}
|
||||
|
||||
char* result = g_strdup(logfile->str);
|
||||
gchar* result = g_strdup(logfile->str);
|
||||
|
||||
free(xdg_data);
|
||||
g_string_free(logfile, TRUE);
|
||||
|
||||
Reference in New Issue
Block a user