Skip to content

Commit

Permalink
Bug 798894 - TOTD with ellipsis broken.
Browse files Browse the repository at this point in the history
  • Loading branch information
yyyjajp authored and jralls committed Apr 29, 2023
1 parent 08b5b5a commit b37c471
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/configure-totd.cmake
Expand Up @@ -17,7 +17,7 @@ execute_process(

file(STRINGS ${TOTD}.tmp TIP_OF_THE_DAY_LINES)
set(TOTD_OUTPUT "")
foreach(line ${TIP_OF_THE_DAY_LINES})
foreach(line ${TIP_OF_THE_DAY_LINES} ENCODING UTF-8)
string(REGEX REPLACE "^ *\"" "" line2 "${line}")
string(REGEX REPLACE "\" *$" "" line3 "${line2}")
file(APPEND ${DST_DIR}/${TOTD} "${line3}\n")
Expand Down

0 comments on commit b37c471

Please sign in to comment.