mirror of
https://github.com/moparisthebest/Simba
synced 2024-11-11 03:45:06 -05:00
Some extra exceptions bish!
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@148 3f818213-9676-44b0-a9b4-5e4c4e03d09d
This commit is contained in:
parent
3b603917a0
commit
4e931dc421
@ -297,10 +297,10 @@ procedure TMFinder.DefaultOperations(var xs, ys, xe, ye: integer);
|
||||
var
|
||||
w,h : integer;
|
||||
begin
|
||||
{ if xs > xe then
|
||||
Swap(xs,xe);
|
||||
if xs > xe then
|
||||
raise Exception.CreateFMT('Finder function: Xs > xe (%d,%d)',[xs,xe]);
|
||||
if ys > ye then
|
||||
Swap(ys,ye);}
|
||||
raise Exception.CreateFMT('Finder function: Ys > ye (%d,%d)',[ys,ye]);
|
||||
if xs < 0 then
|
||||
// xs := 0;
|
||||
raise Exception.createFMT('Any Find Function, you did not pass a ' +
|
||||
|
Loading…
Reference in New Issue
Block a user