- Fixed a CMake build error, since r17181.

- Fixed a 'replacestr' example in script_commands.txt

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17204 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
brianluau 2013-03-21 07:16:39 +00:00
parent c77b6ef1c3
commit 474ea165e2
2 changed files with 2 additions and 3 deletions

View File

@ -481,7 +481,6 @@ set( RUNTIME_FILES
"${CMAKE_CURRENT_SOURCE_DIR}/README.txt"
"${CMAKE_CURRENT_SOURCE_DIR}/runserver-sql.bat"
"${CMAKE_CURRENT_SOURCE_DIR}/serv.bat"
"${CMAKE_CURRENT_SOURCE_DIR}/start"
"${CMAKE_CURRENT_SOURCE_DIR}/zlib1.dll"
)
set( RUNTIME_DIRECTORIES

View File

@ -6982,8 +6982,8 @@ in the count parameter.
Example:
replacestr("testing tester", "test", "dash"); //returns "dashing dasher"
replacestr("Donkey", "don", "mon", 0); //returns "monkey"
replacestr("test test test test test", "yay", 0, 3); //returns "yay yay yay test test"
replacestr("Donkey", "don", "mon", 0); //returns "monkey"
replacestr("test test test test test", "test", "yay", 0, 3); //returns "yay yay yay test test"
---------------------------------------