diff options
| author | ian.macarthur <ian.macarthur@leonardocompany.com> | 2022-03-23 11:19:24 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2022-03-23 19:46:35 +0100 |
| commit | 29c6d6c679d873988581e878f395399a6c4bb369 (patch) | |
| tree | efa031c450d31385ddd98815b71d09feae23ba29 /src/Fl_System_Driver.H | |
| parent | 54ecae9bda20ac0788525d793c8107c8de7dee40 (diff) | |
Remove vsscanf_l() call from Win32 driver (it appears to be a BSD-ism and unsupported by the MS tools) and rename several clocale specific methods from "name" to "vname" since they take a va_list not a variable list of arguments.
Diffstat (limited to 'src/Fl_System_Driver.H')
| -rw-r--r-- | src/Fl_System_Driver.H | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Fl_System_Driver.H b/src/Fl_System_Driver.H index 3075565c9..d008f6a26 100644 --- a/src/Fl_System_Driver.H +++ b/src/Fl_System_Driver.H @@ -127,9 +127,9 @@ public: virtual unsigned utf8to_mb(const char* src, unsigned srclen, char* dst, unsigned dstlen); virtual unsigned utf8from_mb(char* dst, unsigned dstlen, const char* src, unsigned srclen); // implement to shield fprintf() from locale changes in decimal point - virtual int clocale_printf(FILE *output, const char *format, va_list args); - virtual int clocale_snprintf(char *output, size_t output_size, const char *format, va_list args); - virtual int clocale_sscanf(const char *input, const char *format, va_list args); + virtual int clocale_vprintf(FILE *output, const char *format, va_list args); + virtual int clocale_vsnprintf(char *output, size_t output_size, const char *format, va_list args); + virtual int clocale_vsscanf(const char *input, const char *format, va_list args); // implement functions telling whether a key is pressed virtual int event_key(int) {return 0;} virtual int get_key(int) {return 0;} |
