Use TDimension for arguments of make_edgept

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2021-11-03 23:32:39 +01:00
parent 6c7cfe41cc
commit 183bb3f519
2 changed files with 2 additions and 2 deletions

View File

@ -135,7 +135,7 @@ bool SPLIT::IsLittleChunk(int min_points, int min_area) const {
*
* Create an EDGEPT and hook it into an existing list of edge points.
**********************************************************************/
EDGEPT *make_edgept(int x, int y, EDGEPT *next, EDGEPT *prev) {
EDGEPT *make_edgept(TDimension x, TDimension y, EDGEPT *next, EDGEPT *prev) {
EDGEPT *this_edgept;
/* Create point */
this_edgept = new EDGEPT;

View File

@ -116,7 +116,7 @@ extern BOOL_VAR_H(wordrec_display_splits);
/*----------------------------------------------------------------------
F u n c t i o n s
----------------------------------------------------------------------*/
EDGEPT *make_edgept(int x, int y, EDGEPT *next, EDGEPT *prev);
EDGEPT *make_edgept(TDimension x, TDimension y, EDGEPT *next, EDGEPT *prev);
void remove_edgept(EDGEPT *point);