summaryrefslogtreecommitdiffstats
path: root/desktop-entry/desktop-entry-spec.xml
diff options
context:
space:
mode:
authorVincent Untz <vuntz@gnome.org>2007-04-28 13:56:33 +0000
committerVincent Untz <vuntz@gnome.org>2007-04-28 13:56:33 +0000
commit8bdd924cac64f6776873726d2b1894630995b89e (patch)
tree3e5b9def4414121608c2ddb6d86eae5ed4ad5300 /desktop-entry/desktop-entry-spec.xml
parentbacf8324b6ac3f911fa083d96e5baf17976a9d89 (diff)
downloadxdg-specs-8bdd924cac64f6776873726d2b1894630995b89e.tar.xz
scanf behavior is locale-dependent, and the numeric type shouldn't be.
2007-04-28 Vincent Untz <vuntz@gnome.org> * desktop-entry-spec.xml: scanf behavior is locale-dependent, and the numeric type shouldn't be. Specify that the value is a floating point number as recognized by scanf in the C locale. Thanks to Dan Winship <danw@gnome.org> for catching this. http://lists.freedesktop.org/archives/xdg/2007-April/009732.html
Diffstat (limited to 'desktop-entry/desktop-entry-spec.xml')
-rw-r--r--desktop-entry/desktop-entry-spec.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-entry/desktop-entry-spec.xml b/desktop-entry/desktop-entry-spec.xml
index 0dbb940..9d510c2 100644
--- a/desktop-entry/desktop-entry-spec.xml
+++ b/desktop-entry/desktop-entry-spec.xml
@@ -186,7 +186,7 @@
<para>
Values of type <literal>numeric</literal> must be a valid floating
point number as recognized by the <literal>%f</literal> specifier for
- <function>scanf</function>.
+ <function>scanf</function> in the <literal>C</literal> locale.
</para>
</listitem>
</itemizedlist>