diff options
Diffstat (limited to 'src/LYCurses.h')
-rw-r--r-- | src/LYCurses.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/LYCurses.h b/src/LYCurses.h index 30a5a064..9c533f39 100644 --- a/src/LYCurses.h +++ b/src/LYCurses.h @@ -315,8 +315,12 @@ extern WINDOW *LYstartPopup PARAMS((int top_y, int left_x, int height, int width #ifdef HAVE_NAPMS #define SECS2Secs(n) (1000 * (n)) +#define Secs2SECS(n) ((n) / 1000.0) +#define SECS_FMT "%.3f" #else #define SECS2Secs(n) (n) +#define Secs2SECS(n) (n) +#define SECS_FMT "%.0f" #endif /* Both slang and curses: */ |