projects
/
gps-tracker
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fad0aad
)
Use macros for maximum string length
author
Dr. Johann Pfefferl
<pfefferl@nghape.jpnet>
Tue, 11 May 2010 13:48:37 +0000
(15:48 +0200)
committer
Dr. Johann Pfefferl
<pfefferl@nghape.jpnet>
Tue, 11 May 2010 13:48:37 +0000
(15:48 +0200)
gps-tracker.c
patch
|
blob
|
history
diff --git
a/gps-tracker.c
b/gps-tracker.c
index
711264b
..
09fc483
100644
(file)
--- a/
gps-tracker.c
+++ b/
gps-tracker.c
@@
-112,7
+112,7
@@
on_gps_device_changed (LocationGPSDevice *device, gpointer data)
GtkLabel *info = (GtkLabel*)app_data->status_label;
GString *msg;
FILE *fp = app_data->outf_p;
- gchar sbuf1[16], sbuf2[16];
+ gchar sbuf1[G_ASCII_DTOSTR_BUF_SIZE], sbuf2[G_ASCII_DTOSTR_BUF_SIZE];
if (!device)
return;