mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Make Windows cross compile again
But this is broken as the utf8/utf16 conversions in windows.c are gone without glib. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
34db6dc2be
commit
475e058d40
5 changed files with 39 additions and 18 deletions
|
@ -92,7 +92,7 @@ int get_maxdepth(struct plot_info *pi)
|
|||
md = ROUND_UP(mm+3000, 10000);
|
||||
} else {
|
||||
/* Minimum 30m, rounded up to 10m, with at least 3m to spare */
|
||||
md = MAX(30000, ROUND_UP(mm+3000, 10000));
|
||||
md = MAX((unsigned)30000, ROUND_UP(mm+3000, 10000));
|
||||
}
|
||||
md += pi->maxpp * 9000;
|
||||
return md;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue