COMPARESTR gives different results on different platforms

Report any Hollywood bugs here
Post Reply
peceha
Posts: 111
Joined: Tue Dec 13, 2016 8:39 am
Location: Poland

COMPARESTR gives different results on different platforms

Post by peceha »

Code: Select all

Print (CompareStr("d","dupa",FALSE))
Wait(200)
Hi,
when run on PC: -1
when run on MorphOS 3.9, PowerMac: 0

Image
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: COMPARESTR gives different results on different platform

Post by airsoftsoftwair »

Confirmed. Will be fixed.
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: COMPARESTR gives different results on different platform

Post by airsoftsoftwair »

Code: Select all

- Fix [Amiga/Linux/Android]: CompareStr() always returned 0 in case one of the strings was a
  substring starting at offset 0 in the other string
Post Reply