From dacaa93951f02d04d8d698f4cb01e60ec0082c85 Mon Sep 17 00:00:00 2001 From: Robert Fewell <14uBobIT@gmail.com> Date: Tue, 24 Apr 2018 15:52:52 +0100 Subject: [PATCH] Bug 795446 - On Windows there is a blank tip of the day When the tip_of_the_day.list is created a new line is appended to the list file and on Windows this causes a blank tip so remove the adding of the extra line. --- doc/CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index a369e57284..51083799aa 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -44,8 +44,6 @@ FOREACH(line ${TIP_OF_THE_DAY_LINES}) LIST(APPEND TOTD_OUTPUT "${line3}\n") ENDFOREACH() -LIST(APPEND TOTD_OUTPUT "\n") - STRING(CONCAT FINAL_TOTD ${TOTD_OUTPUT}) FILE(WRITE ${CMAKE_CURRENT_BINARY_DIR}/tip_of_the_day.list "${FINAL_TOTD}")