mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-25 09:06:22 +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:
@@ -315,7 +315,7 @@ static char*
|
||||
_autocomplete_param_common(const char* const input, char* command, autocomplete_func func, Autocomplete ac, gboolean quote, gboolean previous, void* context)
|
||||
{
|
||||
int len;
|
||||
auto_char char* command_cpy = g_strdup_printf("%s ", command);
|
||||
auto_gchar gchar* command_cpy = g_strdup_printf("%s ", command);
|
||||
if (!command_cpy) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user