1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-01 06:26:44 +02:00

couple small fixes

This commit is contained in:
Jfreegman
2014-07-30 02:46:08 -04:00
parent 476dec46b6
commit 75708f7600
2 changed files with 5 additions and 3 deletions

View File

@ -23,6 +23,8 @@
#include <stdlib.h>
#include <string.h>
#include <libconfig.h>
#include <ctype.h>
#include "toxic.h"
#include "windows.h"
#include "configdir.h"
@ -180,7 +182,7 @@ static int key_parse(const char** bind){
if (len > 5) {
if(strncasecmp(*bind, "ctrl+", 5) == 0)
return bind[0][5] - 'A' + 1;
return toupper(bind[0][5]) - 'A' + 1;
}
if (strncasecmp(*bind, "tab", 3) == 0)