--- a/gntcolors.c Thu Jan 15 22:37:48 2009 +0000
+++ b/gntcolors.c Mon Mar 02 04:18:40 2009 +0000
@@ -208,7 +208,7 @@
key = g_ascii_strdown(key, -1);
color = gnt_colors_get_color(key);
init_color(color, r, g, b);
@@ -251,7 +251,7 @@
int bg = gnt_colors_get_color(bgc);
- if (fg == -1 || bg == -1)
+ if (fg == -EINVAL || bg == -EINVAL) key = g_ascii_strdown(key, -1);
--- a/gntkeys.c Thu Jan 15 22:37:48 2009 +0000
+++ b/gntkeys.c Mon Mar 02 04:18:40 2009 +0000
@@ -163,7 +163,8 @@
(*(text + 2) >= 'A' && *(text + 2) <= 'D')) {
/* Apparently this is necessary for urxvt and screen and xterm */
if (strstr(term, "screen") == term || strcmp(term, "rxvt-unicode") == 0 ||
- strstr(term, "xterm") == term)
+ strstr(term, "xterm") == term || + strstr(term, "vt100") == term) } else if (*(unsigned char*)text == 195) {
if (*(text + 2) == 0 && strstr(term, "xterm") == term) {
--- a/gntwm.c Thu Jan 15 22:37:48 2009 +0000
+++ b/gntwm.c Mon Mar 02 04:18:40 2009 +0000
@@ -353,7 +353,8 @@
g_hash_table_replace(wm->positions, g_strdup(title + 1), p);
- gnt_warning("Invalid number of arguments (%d) for positioning a window.", l);
+ gnt_warning("Invalid number of arguments (%" G_GSIZE_FORMAT + ") for positioning a window.", l);