From 0e765e427b1edf1b78a807ee99c64db01250fcf0 Mon Sep 17 00:00:00 2001 From: Michael Underwood Date: Thu, 9 Oct 2014 16:05:34 -0600 Subject: [PATCH] Patch incorrect #elif directives to #else directives --- konsole-qml-plugin/src/kpty.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/konsole-qml-plugin/src/kpty.cpp b/konsole-qml-plugin/src/kpty.cpp index d383172..c002c14 100644 --- a/konsole-qml-plugin/src/kpty.cpp +++ b/konsole-qml-plugin/src/kpty.cpp @@ -508,7 +508,7 @@ void KPty::login(const char * user, const char * remotehost) if (user) { # ifdef HAVE_UT_USER strncpy(l_struct.ut_user, user, sizeof(l_struct.ut_user)); -#elif +#else strncpy(l_struct.ut_name, user, sizeof(l_struct.ut_name)); #endif } @@ -624,7 +624,7 @@ void KPty::logout() # ifdef HAVE_UT_USER memset(ut->ut_user, 0, sizeof(*ut->ut_user)); -#elif +#else memset(ut->ut_name, 0, sizeof(*ut->ut_name)); #endif