summaryrefslogtreecommitdiff
path: root/src/Fl_System_Driver.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-04-01 10:28:03 +0000
committerManolo Gouy <Manolo>2016-04-01 10:28:03 +0000
commitf1a157bdd94c7680629145a577c2ce1d97f2e161 (patch)
tree7b6c5d8a8a4c751f0a923e7c27b558de799d2c53 /src/Fl_System_Driver.cxx
parent524ebcef0bd7db2c821414ae7296dd3bb5dfaf9c (diff)
Replace Fl_System_Driver::driver() by Fl::system_driver()
for coherence with the Fl::screen_driver() function. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11494 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_System_Driver.cxx')
-rw-r--r--src/Fl_System_Driver.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Fl_System_Driver.cxx b/src/Fl_System_Driver.cxx
index 798c1296d..212c293fd 100644
--- a/src/Fl_System_Driver.cxx
+++ b/src/Fl_System_Driver.cxx
@@ -46,7 +46,7 @@ Fl_System_Driver::~Fl_System_Driver()
void Fl_System_Driver::warning(const char* format, ...) {
va_list args;
va_start(args, format);
- driver()->warning(format, args);
+ Fl::system_driver()->warning(format, args);
va_end(args);
}
@@ -59,7 +59,7 @@ void Fl_System_Driver::warning(const char* format, va_list args) {
void Fl_System_Driver::error(const char* format, ...) {
va_list args;
va_start(args, format);
- driver()->error(format, args);
+ Fl::system_driver()->error(format, args);
va_end(args);
}
@@ -72,7 +72,7 @@ void Fl_System_Driver::error(const char *format, va_list args) {
void Fl_System_Driver::fatal(const char* format, ...) {
va_list args;
va_start(args, format);
- driver()->fatal(format, args);
+ Fl::system_driver()->fatal(format, args);
va_end(args);
}