projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ONEWAY: Fix printf format specifier.
[pspp]
/
src
/
ui
/
gui
/
widget-io.c
diff --git
a/src/ui/gui/widget-io.c
b/src/ui/gui/widget-io.c
index e04e32222d85cdc50f4052463f44191ffc8f2824..da9c9cb1e868f7469c152a62307790779a5829d3 100644
(file)
--- a/
src/ui/gui/widget-io.c
+++ b/
src/ui/gui/widget-io.c
@@
-51,7
+51,7
@@
widget_printf (const gchar *fmt, ...)
if ( 0 != printf_parse (fmt, &d, &a) )
return NULL;
- widgets = xcalloc (
sizeof (*widgets), d.count
);
+ widgets = xcalloc (
d.count, sizeof (*widgets)
);
va_start (ap, fmt);
for (i = 0 ; i < d.count ; ++i )
{