[rkward] rkward/rbackend: Fix typo. Thanks to Allen Winter.

Thomas Friedrichsmeier thomas.friedrichsmeier at ruhr-uni-bochum.de
Fri Oct 2 16:14:24 UTC 2015


Git commit 4909e8dc258d42a8070d59934b91c5b31832137d by Thomas Friedrichsmeier.
Committed on 02/10/2015 at 16:14.
Pushed by tfry into branch 'master'.

Fix typo. Thanks to Allen Winter.

M  +1    -1    rkward/rbackend/rkrbackend.cpp

http://commits.kde.org/rkward/4909e8dc258d42a8070d59934b91c5b31832137d

diff --git a/rkward/rbackend/rkrbackend.cpp b/rkward/rbackend/rkrbackend.cpp
index 4afc43e..a7ee840 100644
--- a/rkward/rbackend/rkrbackend.cpp
+++ b/rkward/rbackend/rkrbackend.cpp
@@ -278,7 +278,7 @@ int RReadConsole (const char* prompt, unsigned char* buf, int buflen, int hist)
 			if (RKRBackend::repl_status.user_command_status == RKRBackend::RKReplStatus::NoUserCommand) {
 				RCommandProxy *command = RKRBackend::this_pointer->fetchNextCommand ();
 				if (!command) {
-#ifdef Q_OS_WINDOWS
+#ifdef Q_OS_WIN
 					// Can't easily override R_CleanUp on Windows, so we're calling it manually, here, then force exit
 					if (RKRBackend::this_pointer->killed == RKRBackend::ExitNow) RCleanUp (SA_NOSAVE, 0, 0);
 					else RCleanUp (SA_SUICIDE, 1, 0);



More information about the rkward-tracker mailing list