magic/windows
Intubun ad816ed65a Fix five latent bugs surfaced while porting to WASM
These bugs all exist in stock Magic but were tolerated by the K&R-loose
native build. The strict WASM call_indirect type checks turned them up.

* cif/CIFhier.c: ASSERT in cifFlatMaskHints accessed
  oldproprec->prop_value.prop_type, but prop_type is a top-level member
  of PropertyRecord. Changed to oldproprec->prop_type.

* extflat/EFargs.c: efLoadSearchPath was assigning a pointer to a
  string literal ("." in RO data), which callers later try to free or
  StrDup. Replaced with StrDup(path, ".") so the pointer always lives
  on the heap.

* router/rtrVia.c: rtrFollowName called RtrMilestonePrint("#"), but
  the function takes no arguments.

* sim/SimSelect.c: SimAddLabels called DBWLabelChanged with five
  arguments, but its real signature is (CellDef *, Label *, int).
  Replaced with the equivalent DBWAreaChanged call.

* windows/windView.c: extern declaration of DBMovePoint had return
  type void, but the function actually returns bool.
2026-05-06 09:58:20 +02:00
..
Makefile Makefile: whitespace only change 2025-07-29 10:50:32 -04:00
vfont.B.12 Initial commit at Tue Apr 25 08:41:48 EDT 2017 by tim on stravinsky 2017-04-25 08:41:48 -04:00
vfont.I.12 Initial commit at Tue Apr 25 08:41:48 EDT 2017 by tim on stravinsky 2017-04-25 08:41:48 -04:00
vfont.R.8 Initial commit at Tue Apr 25 08:41:48 EDT 2017 by tim on stravinsky 2017-04-25 08:41:48 -04:00
windClient.c Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
windCmdAM.c Fixed issues with the "macro" command that have existed since the 2026-04-13 12:26:42 -04:00
windCmdNR.c Use HAVE_SYS_TIME_H and TIME_WITH_SYS_TIME from autoconf where possible 2025-07-27 12:43:04 -04:00
windCmdSZ.c Fixed the mess that is the "expand"/"unexpand" command set. This 2026-04-04 20:47:04 -04:00
windDebug.c gcc11 -Wall -Wpedantic cleanup (post __attribute__) 2025-01-06 16:25:38 +00:00
windDisp.c First cut of pulling the TT_SIDE bit out of the tile database 2026-01-09 12:05:03 -05:00
windInt.h header file #ifndef guard namespace consistency (global change) 2025-07-29 10:50:32 -04:00
windMain.c Substantially revised the "macro" command callback functions and 2025-10-09 15:43:54 -04:00
windMove.c GeoDisjoint() unify return type of callback to bool 2024-12-26 15:10:35 -05:00
windSearch.c Removing extra `$Header$` 2020-05-27 20:35:27 -04:00
windSend.c Lookup() constify WindGetCommandTable() returns 'const' 2024-12-26 15:20:58 -05:00
windTrans.c Removing extra `$Header$` 2020-05-27 20:35:27 -04:00
windView.c Fix five latent bugs surfaced while porting to WASM 2026-05-06 09:58:20 +02:00
windows.h Substantially revised the "macro" command callback functions and 2025-10-09 15:43:54 -04:00
windows7.glyphs Initial commit at Tue Apr 25 08:41:48 EDT 2017 by tim on stravinsky 2017-04-25 08:41:48 -04:00
windows11.glyphs Initial commit at Tue Apr 25 08:41:48 EDT 2017 by tim on stravinsky 2017-04-25 08:41:48 -04:00
windows14.glyphs Initial commit at Tue Apr 25 08:41:48 EDT 2017 by tim on stravinsky 2017-04-25 08:41:48 -04:00
windows22.glyphs Initial commit at Tue Apr 25 08:41:48 EDT 2017 by tim on stravinsky 2017-04-25 08:41:48 -04:00