X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fcore.c;h=867121be23b110119c4f8dda90fc694d3d406592;hb=071ddb99111d4ba996e3686bbef3ac7559a92742;hp=e93ef58ea7355bd006451e9df3bfb9f27bf5dff9;hpb=492b86773cdd4d6c993dee8e02c0c93302ccd7ed;p=monky diff --git a/src/core.c b/src/core.c index e93ef58..867121b 100644 --- a/src/core.c +++ b/src/core.c @@ -245,7 +245,7 @@ struct text_object *construct_text_object(const char *s, const char *arg, long if (arg) { sscanf(arg, "%63s", bat); } else { - strcpy(bat, "BAT0"); + strcpy(bat, "bq27200-0"); } obj->data.s = strndup(bat, text_buffer_size); END OBJ(battery_short, 0) @@ -254,7 +254,7 @@ struct text_object *construct_text_object(const char *s, const char *arg, long if (arg) { sscanf(arg, "%63s", bat); } else { - strcpy(bat, "BAT0"); + strcpy(bat, "bq27200-0"); } obj->data.s = strndup(bat, text_buffer_size); END OBJ(battery_time, 0) @@ -263,7 +263,7 @@ struct text_object *construct_text_object(const char *s, const char *arg, long if (arg) { sscanf(arg, "%63s", bat); } else { - strcpy(bat, "BAT0"); + strcpy(bat, "bq27200-0"); } obj->data.s = strndup(bat, text_buffer_size); END OBJ(battery_percent, 0) @@ -272,7 +272,7 @@ struct text_object *construct_text_object(const char *s, const char *arg, long if (arg) { sscanf(arg, "%63s", bat); } else { - strcpy(bat, "BAT0"); + strcpy(bat, "bq27200-0"); } obj->data.s = strndup(bat, text_buffer_size); END OBJ(battery_bar, 0) @@ -282,7 +282,7 @@ struct text_object *construct_text_object(const char *s, const char *arg, long if (arg && strlen(arg)>0) { sscanf(arg, "%63s", bat); } else { - strcpy(bat, "BAT0"); + strcpy(bat, "bq27200-0"); } obj->data.s = strndup(bat, text_buffer_size); #endif /* !__OpenBSD__ */