diff options
author | bahbka <bahbka@gmail.com> | 2014-07-08 10:26:46 +0400 |
---|---|---|
committer | bahbka <bahbka@gmail.com> | 2014-07-08 10:26:46 +0400 |
commit | d51abbc5e03637d15760074a8612ee8d3cfac82f (patch) | |
tree | 8d02d0ac0e94e722113516d8dc7efd5288bc31f5 | |
parent | 170a70cd0998e21805e5a3777eba734f6fb5cceb (diff) |
Fixed bug with font changing.
-rw-r--r-- | appinfo.json | 4 | ||||
-rw-r--r-- | resources/configuration.html | 2 | ||||
-rw-r--r-- | src/pebble-my-data.c | 2 | ||||
-rw-r--r-- | stuff/pebble-my-data.pbw | bin | 23828 -> 24191 bytes |
4 files changed, 4 insertions, 4 deletions
diff --git a/appinfo.json b/appinfo.json index f50ad67..cd6ab51 100644 --- a/appinfo.json +++ b/appinfo.json @@ -3,8 +3,8 @@ "shortName": "My Data", "longName": "My Data", "companyName": "bahbka", - "versionCode": 211, - "versionLabel": "2.1.1", + "versionCode": 212, + "versionLabel": "2.1.2", "watchapp": { "watchface": false }, diff --git a/resources/configuration.html b/resources/configuration.html index c3d2cd1..8305a2d 100644 --- a/resources/configuration.html +++ b/resources/configuration.html @@ -54,7 +54,7 @@ vim: sw=2 ts=2 expandtab ai --> </head> <body onload="put_config();"> <h1>My Data</h1> - <small>v2.1.1, by bahbka</small> + <small>v2.1.2, by bahbka</small> <hr size="1" /> <form action="javascript: get_config();" id="config_form"> diff --git a/src/pebble-my-data.c b/src/pebble-my-data.c index 9065a57..aba14d8 100644 --- a/src/pebble-my-data.c +++ b/src/pebble-my-data.c @@ -523,7 +523,7 @@ void in_received_handler(DictionaryIterator *received, void *context) { Tuple *font_tuple = dict_find(received, KEY_FONT); uint8_t font = 0; - if (font) { + if (font_tuple) { font = font_tuple->value->uint8; } diff --git a/stuff/pebble-my-data.pbw b/stuff/pebble-my-data.pbw Binary files differindex 62da971..c70ce91 100644 --- a/stuff/pebble-my-data.pbw +++ b/stuff/pebble-my-data.pbw |