mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Merge branch 'master' into osx-functional
This commit is contained in:
commit
fd3c15434e
@ -1091,7 +1091,7 @@ cmd_close(ProfWin *window, const char *const command, gchar **args)
|
|||||||
if (args[0] != NULL) {
|
if (args[0] != NULL) {
|
||||||
int i = 0;
|
int i = 0;
|
||||||
for (i = 0; i < strlen(args[0]); i++) {
|
for (i = 0; i < strlen(args[0]); i++) {
|
||||||
if (!isdigit(args[0][i])) {
|
if (!isdigit((int)args[0][i])) {
|
||||||
is_num = FALSE;
|
is_num = FALSE;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -1185,7 +1185,7 @@ cmd_win(ProfWin *window, const char *const command, gchar **args)
|
|||||||
gboolean is_num = TRUE;
|
gboolean is_num = TRUE;
|
||||||
int i = 0;
|
int i = 0;
|
||||||
for (i = 0; i < strlen(args[0]); i++) {
|
for (i = 0; i < strlen(args[0]); i++) {
|
||||||
if (!isdigit(args[0][i])) {
|
if (!isdigit((int)args[0][i])) {
|
||||||
is_num = FALSE;
|
is_num = FALSE;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user