Font_DecodeMenu exit parameter

Justin F gerph at gerph.org
Thu Sep 9 01:27:42 BST 2021


Hiya,

Small one, and probably doesn't matter to many people as it'd be rare to 
modify the menu returned by Font_ListFonts to add extra submenu items.

The PRM says:

On exit

    R0, R1 preserved
    R2 = pointer to rest of menu selections (if R3 [NOT EQUAL] 0 on entry)
    R3 preserved
    R4 = size of buffer required to hold output string (0 => no font selected)

But Font_DecodeMenu in OSLib says:

      EXIT
      (  R3 -> .Int: next_selection,
         R4 = .Int: used
      )

That R3 should be R2.

-- 
Charles Justin Ferguson
[ All information, speculation, opinion or data within, or attached to,
  this email is private and confidential. Such content may not be
  disclosed to third parties, or a public forum, without explicit
  permission being granted. ]



More information about the oslib-user mailing list