From 853a716610ae1f393e05aceb27b38b9007c39701 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Fri, 17 Nov 2017 17:25:33 +0000 Subject: Replace remaining calls of getenv() with fl_getenv(). Note: don't use fl_getenv() in Fl_System_Driver and derived classes. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12563 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx') diff --git a/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx b/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx index 2582cbd17..d4fed5922 100644 --- a/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx +++ b/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx @@ -3,7 +3,7 @@ // // Definition of MSWindows Win32/64 Screen interface // -// Copyright 1998-2016 by Bill Spitzak and others. +// Copyright 1998-2017 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this @@ -356,7 +356,7 @@ void Fl_WinAPI_Screen_Driver::get_system_colors() const char *Fl_WinAPI_Screen_Driver::get_system_scheme() { - return getenv("FLTK_SCHEME"); + return fl_getenv("FLTK_SCHEME"); } -- cgit v1.2.3