Re: EuGTK Convert Units

new topic     » goto parent     » topic index » view thread      » older message » newer message

Good catch! There is a bug in GtkEngine.e. Around line 1398 in function connect()

if rid > 0  then 	-- named function is in scope; 

should be:

 
if rid > -1 then 	-- named function is in scope; 
 

When compiled, the convert function has a routine_id of 0, which I didn't realize was a valid routine_id.

(The line number is for latest EuGTK 4.14.1, location may vary in earlier versions.)

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu