Skip to content

Commit 4ddb127

Browse files
authored
Merge pull request #11 from rbergen/add-english
Small bug fixes, bump version to 3.4.1
2 parents 3ccfdb8 + 2ecc601 commit 4ddb127

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.15.0)
22

33
project(
44
R136
5-
VERSION 3.4.0)
5+
VERSION 3.4.1)
66

77
set(CURSES_NEED_NCURSES 1)
88
set(CURSES_NEED_WIDE 1)

include/templates/base.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ const std::basic_string<TChar> &select_language_param(Language language, const s
145145
return (int)texts.size() > language_value ? texts[language_value] : empty_string<TChar>;
146146
}
147147

148-
template<class TArrayType>
149-
const TArrayType& select_language_param(Language language, const TArrayType* values)
148+
template<class TArrayElement>
149+
const TArrayElement& select_language_param(Language language, const TArrayElement* values)
150150
{
151151
return values[to_value(language)];
152152
}

src/intro.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ namespace startup
324324
console.main().empty_line();
325325

326326
console.main().set_attribute(A_BOLD);
327-
console.main().print_centered(select("Versie 3.4.0, (C) 1998, 2022 R.I.P.", "Version 3.4.0, (C) 1998, 2022 R.I.P."));
327+
console.main().print_centered(select("Versie 3.4.1, (C) 1998, 2022 R.I.P.", "Version 3.4.1, (C) 1998, 2022 R.I.P."));
328328
console.main().unset_attribute(A_BOLD);
329329
console.main().empty_line();
330330
}

src/parser.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ void Parser::parse_combine_parameters(CoreData& core, ParseData& parse_data, con
2626
console.input().print_error(select(
2727
"syntax: combineer <voorwerp> en/met <voorwerp>"
2828
,
29-
"syntax: {command} <object> and/with <object>"
29+
"syntax: combine <object> and/with <object>"
3030
));
3131
parse_data.parse_error = true;
3232

0 commit comments

Comments
 (0)