From e0f4e50dc7825bea5960ba31eff77e8ea8a1c090 Mon Sep 17 00:00:00 2001 From: Sabine Date: Thu, 8 Aug 2024 08:08:20 +0200 Subject: [PATCH] feat(Linux): "a few minor things" --- linux/mcompile/keymap/keymap.cpp | 8 +++----- linux/mcompile/keymap/mcompile.cpp | 1 - 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/linux/mcompile/keymap/keymap.cpp b/linux/mcompile/keymap/keymap.cpp index 3fbcc040f5..753c817a38 100644 --- a/linux/mcompile/keymap/keymap.cpp +++ b/linux/mcompile/keymap/keymap.cpp @@ -670,7 +670,7 @@ vec_dword_2D create_empty_2D_Vector(int dim_rows, int dim_ss) { * @param[in,out] all_vector 3D-vector that holds the data of the US keyboard and the currently used (underlying) keyboard * @param keymap pointer to currently used (underlying) keybord layout * @return 0 on success; - * 1 if the initialization of the underlying vector failes; + * 1 if the initialization of the underlying vector fails; * 2 if data of less than 2 keyboards is contained in all_vector */ int append_underlying_ToVector(vec_dword_3D& all_vector, GdkKeymap* keymap) { @@ -706,10 +706,8 @@ int append_underlying_ToVector(vec_dword_3D& all_vector, GdkKeymap* keymap) { } /** - * @brief create a pointer to pointer of the current keymap for later use - * @param keymap pointer to pointer to currently used (underlying) keyboard layout - * @param argc count of arguments - * @param argv array of arguments + * @brief initializes GDK and return the current keymap for later use + * @param keymap [out] currently used (underlying) keyboard layout * @return FALSE on success; * TRUE if the display or keymap is not found */ diff --git a/linux/mcompile/keymap/mcompile.cpp b/linux/mcompile/keymap/mcompile.cpp index 5d9787d0af..8623640911 100644 --- a/linux/mcompile/keymap/mcompile.cpp +++ b/linux/mcompile/keymap/mcompile.cpp @@ -52,7 +52,6 @@ std::vector KMX_FDeadkeys; // I4353 * @brief start of mcompile; load, convert and save keyboard * @param argc number of commandline arguments * @param argv pointer to commandline arguments: executable, inputfile, outputfile - * @param argv_gdk pointer to (commandline arguments) * @return 0 on success, * 1 for wrong usage of calling parameters, * 3 if unable to load keyboard