re-added return statement

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1356 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2009-01-15 14:47:50 +00:00
parent ba15bd1171
commit a3a701d2dd
+1 -1
View File
@@ -63,7 +63,7 @@ String format_input(const String& format, const ScriptValue& input) {
// determine type of input
ScriptType type = input.type();
if (type == SCRIPT_DATETIME) {
input.toDateTime().Format(format.c_str());
return input.toDateTime().Format(format.c_str());
} else {
// determine type expected by format string
String fmt = _("%") + replace_all(format, _("%"), _(""));