diff options
Diffstat (limited to 'plugins/ListeningTo')
-rw-r--r-- | plugins/ListeningTo/src/listeningto.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ListeningTo/src/listeningto.cpp b/plugins/ListeningTo/src/listeningto.cpp index 0e1094cd17..9002b5baab 100644 --- a/plugins/ListeningTo/src/listeningto.cpp +++ b/plugins/ListeningTo/src/listeningto.cpp @@ -504,7 +504,7 @@ BOOL ListeningToEnabled(char *proto, BOOL ignoreGlobal) else
{
char setting[256];
- mir_snprintf(setting, SIZEOF(setting), "%sEnabled", proto);
+ mir_snprintf(setting, "%sEnabled", proto);
return (BOOL) db_get_b(NULL, MODULE_NAME, setting, FALSE);
}
}
@@ -708,7 +708,7 @@ INT_PTR EnableListeningTo(char *proto,BOOL enabled) return 0;
char setting[256];
- mir_snprintf(setting, SIZEOF(setting), "%sEnabled", proto);
+ mir_snprintf(setting, "%sEnabled", proto);
db_set_b(NULL, MODULE_NAME, setting, enabled);
// Modify menu info
|