summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/shortcuts.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/shortcuts.c b/apps/shortcuts.c
index 9abd82af2f..a0b6327e54 100644
--- a/apps/shortcuts.c
+++ b/apps/shortcuts.c
@@ -235,6 +235,12 @@ static void shortcuts_ata_idle_callback(void)
235 write(fd, sc->u.setting->cfg_name, strlen(sc->u.setting->cfg_name)); 235 write(fd, sc->u.setting->cfg_name, strlen(sc->u.setting->cfg_name));
236 else 236 else
237 write(fd, sc->u.path, strlen(sc->u.path)); 237 write(fd, sc->u.path, strlen(sc->u.path));
238
239 /* write name:, icon:, talkclip: */
240 len = snprintf(buf, MAX_PATH, "\nname: %s\nicon: %d\ntalkclip: ",
241 sc->name, sc->icon);
242 write(fd, buf, len);
243 write(fd, sc->talk_clip, strlen(sc->talk_clip));
238 write(fd, "\n\n", 2); 244 write(fd, "\n\n", 2);
239 } 245 }
240 close(fd); 246 close(fd);