aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/shell.c10
-rw-r--r--shell/stock.c2
2 files changed, 6 insertions, 6 deletions
diff --git a/shell/shell.c b/shell/shell.c
index 166e7232..81f3e084 100644
--- a/shell/shell.c
+++ b/shell/shell.c
@@ -2369,19 +2369,19 @@ void key_get_components(const gchar *key,
gchar *f = g_strdup(key);
gchar *s = g_utf8_strchr(f+1, -1, '$');
if(s==NULL) {
- DEBUG("key_get_components_ERROR NOT FOUND");
+ DEBUG("ERROR NOT FOUND");
}else{
- if((s-f+1)>strlen(key)) {
- DEBUG("key_get_components_ERROR NOT FOUND");
- }else{
+ /* if((s-f+1)>strlen(key)) {
+ DEBUG("ERROR TOO LATE");
+ }else{*/
*(g_utf8_strchr(f+1, -1, '$') + 1) = 0;
if (flags)
*flags = g_strdup(f);
if (tag)
*tag = key_mi_tag(f);
g_free(f);
+ //}
}
- }
} else
np = key;
diff --git a/shell/stock.c b/shell/stock.c
index de5fc72c..27b2eedb 100644
--- a/shell/stock.c
+++ b/shell/stock.c
@@ -75,7 +75,7 @@ void stock_icon_register_pixbuf(GdkPixbuf * pixbuf, gchar * stock_id)
void stock_icons_init(void)
{
- gint i;
+ guint i;
guint n_stock_icons = G_N_ELEMENTS(stock_icons);
DEBUG("initializing stock icons");