Skip to content

Commit dc1135d

Browse files
committed
remove spurious commas
1 parent b07b158 commit dc1135d

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

gc/ogc/console.h

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -152,24 +152,24 @@ typedef struct PrintConsole
152152
ConsoleFont font; ///< Font of the console
153153

154154
void *destbuffer; ///< Framebuffer address
155-
int con_xres, con_yres; ///< Console buffer width/height, in pixels
156-
int con_stride; ///< Size of one row in the console buffer, in bytes
157-
int target_x, target_y; ///< Target buffer x/y offset to start the console, in pixels
158-
int tgt_stride; ///< Size of one row in the target buffer, in bytes
155+
int con_xres, con_yres; ///< Console buffer width/height in pixels
156+
int con_stride; ///< Size of one row in the console buffer in bytes
157+
int target_x, target_y; ///< Target buffer x/y offset to start the console in pixels
158+
int tgt_stride; ///< Size of one row in the target buffer in bytes
159159

160-
int cursorX; ///< Current X location of the cursor in the window, in tiles, 1-indexed: 1 <= cursorX <= windowWidth, cursorX > windowWidth wraps to the next line and resets to cursorX = 1
161-
int cursorY; ///< Current Y location of the cursor in the window, in tiles, 1-indexed
160+
int cursorX; ///< Current X location of the cursor in the window in tiles, 1-indexed: 1 <= cursorX <= windowWidth, cursorX > windowWidth wraps to the next line and resets to cursorX = 1
161+
int cursorY; ///< Current Y location of the cursor in the window in tiles, 1-indexed
162162

163163
int prevCursorX; ///< Internal state
164164
int prevCursorY; ///< Internal state
165165

166-
int con_cols; ///< Width of the console hardware layer, in characters (amount of tiles)
167-
int con_rows; ///< Height of the console hardware layer, in characters (amount of tiles)
166+
int con_cols; ///< Width of the console hardware layer in characters (amount of tiles)
167+
int con_rows; ///< Height of the console hardware layer in characters (amount of tiles)
168168

169-
int windowX; ///< Window X location, in tiles, 1-indexed, 1 <= windowX < con_cols
170-
int windowY; ///< Window Y location, in tiles, 1-indexed
171-
int windowWidth; ///< Window width, in amount of tiles, 1 <= windowWidth <= con_cols
172-
int windowHeight; ///< Window height, in amount of tiles
169+
int windowX; ///< Window X location in tiles, 1-indexed, 1 <= windowX < con_cols
170+
int windowY; ///< Window Y location in tiles, 1-indexed
171+
int windowWidth; ///< Window width in tiles, 1 <= windowWidth <= con_cols
172+
int windowHeight; ///< Window height in tiles
173173

174174
int tabSize; ///< Size of a tab
175175
unsigned int fg; ///< Foreground color
@@ -198,10 +198,10 @@ void consoleSetFont(PrintConsole* console, ConsoleFont* font);
198198
/**
199199
* @brief Sets the print window.
200200
* @param console Console to set, if NULL it will set the current console window.
201-
* @param x X location of the window, in tiles, 1-indexed
202-
* @param y Y location of the window, in tiles, 1-indexed
203-
* @param width Width of the window, in tiles
204-
* @param height Height of the window, in tiles
201+
* @param x X location of the window in tiles, 1-indexed
202+
* @param y Y location of the window in tiles, 1-indexed
203+
* @param width Width of the window in tiles
204+
* @param height Height of the window in tiles
205205
*/
206206
void consoleSetWindow(PrintConsole* console, unsigned int x, unsigned int y, unsigned int width, unsigned int height);
207207

0 commit comments

Comments
 (0)