From 64ea9c4d1f3361bf2311fe2667b218ac593b5603 Mon Sep 17 00:00:00 2001 From: Alex Leitner Date: Tue, 21 Jun 2022 16:16:52 +0000 Subject: [PATCH] GUACAMOLE-1622: Clarified comments to describe if param is a pointer. --- src/terminal/terminal.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/terminal/terminal.c b/src/terminal/terminal.c index 0d536d66..586a5edb 100644 --- a/src/terminal/terminal.c +++ b/src/terminal/terminal.c @@ -349,11 +349,12 @@ guac_terminal_options* guac_terminal_options_create( * The outer width of the terminal, in pixels. * * @param rows - * Calculated height of the terminal for text display, in characters. + * Pointer to the calculated height of the terminal for text display, + * in characters. * * @param columns - * Calculated width of the terminal for text display, in characters. - * + * Pointer to the calculated width of the terminal for text display, + * in characters. */ static void calculate_rows_and_columns(guac_terminal* term, int height, int width, int *rows, int *columns) { @@ -400,11 +401,12 @@ static void calculate_rows_and_columns(guac_terminal* term, * The available width of the terminal for text display, in characters. * * @param height - * Calculated available height of the terminal for text display, in pixels. + * Pointer to the calculated available height of the terminal for text + * display, in pixels. * * @param width - * Calculated available width of the terminal for text display, in pixels. - * + * Pointer to the calculated available width of the terminal for text + * display, in pixels. */ static void calculate_height_and_width(guac_terminal* term, int rows, int columns, int *height, int *width) {