summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--desktop-entry/ChangeLog8
-rw-r--r--desktop-entry/desktop-entry-spec.xml2
2 files changed, 9 insertions, 1 deletions
diff --git a/desktop-entry/ChangeLog b/desktop-entry/ChangeLog
index 4b632ce..a494d49 100644
--- a/desktop-entry/ChangeLog
+++ b/desktop-entry/ChangeLog
@@ -1,5 +1,13 @@
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
+
+2007-04-28 Vincent Untz <vuntz@gnome.org>
+
* desktop-entry-spec.xml: clarify description for the TryExec key.
http://lists.freedesktop.org/archives/xdg/2007-March/009556.html
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>