From 904039c4c6cd2d67199709919fa1fc844b0f4af2 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Wed, 5 Feb 2025 12:34:39 +0100 Subject: Fix typos and trailing whitespace Also replace 'MSWindows' with 'Windows' where appropriate, leaving only old documents like README files from 1.3 and older as-is. --- src/drivers/WinAPI/Fl_WinAPI_System_Driver.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/drivers/WinAPI') diff --git a/src/drivers/WinAPI/Fl_WinAPI_System_Driver.cxx b/src/drivers/WinAPI/Fl_WinAPI_System_Driver.cxx index 2e3a35cb0..442896bea 100644 --- a/src/drivers/WinAPI/Fl_WinAPI_System_Driver.cxx +++ b/src/drivers/WinAPI/Fl_WinAPI_System_Driver.cxx @@ -1003,7 +1003,7 @@ const char *Fl_WinAPI_System_Driver::home_directory_name() } if (!home) { const char *h = getenv("UserProfile"); - if (h) + if (h) home = ::strdup(h); } if (!home) { -- cgit v1.2.3