about summary refs log tree commit diff
path: root/lib/libpm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpm.c')
-rw-r--r--lib/libpm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libpm.c b/lib/libpm.c
index 69fe1dbf..4374bbe3 100644
--- a/lib/libpm.c
+++ b/lib/libpm.c
@@ -278,10 +278,11 @@ pm_error(const char format[], ...) {
 
 
 
-bool
+int
 pm_have_float_format(void) {
 /*----------------------------------------------------------------------------
-  Return true iff %f, %e, and %g work in format strings for pm_message, etc.
+  Return 1 if %f, %e, and %g work in format strings for pm_message, etc.;
+  0 otherwise.
 
   Where they don't "work," that means the specifier just appears itself in
   the formatted strings, e.g. "the number is g".