summaryrefslogtreecommitdiff
path: root/src/Fl_System_Driver.cxx
diff options
context:
space:
mode:
authorian.macarthur <ian.macarthur@leonardocompany.com>2022-03-23 11:19:24 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2022-03-23 19:46:35 +0100
commit29c6d6c679d873988581e878f395399a6c4bb369 (patch)
treeefa031c450d31385ddd98815b71d09feae23ba29 /src/Fl_System_Driver.cxx
parent54ecae9bda20ac0788525d793c8107c8de7dee40 (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.cxx')
-rw-r--r--src/Fl_System_Driver.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Fl_System_Driver.cxx b/src/Fl_System_Driver.cxx
index 143585b72..42a8e18eb 100644
--- a/src/Fl_System_Driver.cxx
+++ b/src/Fl_System_Driver.cxx
@@ -401,15 +401,15 @@ unsigned Fl_System_Driver::utf8from_mb(char* dst, unsigned dstlen, const char* s
return srclen;
}
-int Fl_System_Driver::clocale_printf(FILE *output, const char *format, va_list args) {
+int Fl_System_Driver::clocale_vprintf(FILE *output, const char *format, va_list args) {
return vfprintf(output, format, args);
}
-int Fl_System_Driver::clocale_snprintf(char *output, size_t output_size, const char *format, va_list args) {
+int Fl_System_Driver::clocale_vsnprintf(char *output, size_t output_size, const char *format, va_list args) {
return 0; // overridden in platform drivers
}
-int Fl_System_Driver::clocale_sscanf(const char *input, const char *format, va_list args) {
+int Fl_System_Driver::clocale_vsscanf(const char *input, const char *format, va_list args) {
return 0; // overridden in platform drivers
}
@@ -509,7 +509,7 @@ void Fl_System_Driver::gettime(time_t *sec, int *usec) {
Platform drivers \b MUST override this virtual method to do
their own stuff and call this base class method to run
the platform independent wait functions.
-
+
Overriden methods will typically call this method early and perform
platform-specific operations after that in order to work with the
\p time_to_wait value possibly modified by this method.