visopsys.org
http://visopsys.org/forums/

Calculator bug fix
http://visopsys.org/forums/viewtopic.php?f=3&t=265
Page 1 of 1

Author:  nextvolume [ Fri Oct 30, 2015 7:33 am ]
Post subject:  Calculator bug fix

Hi, the Visopsys calculator cannot compute square root and factorial numbers in 0.8_pre1
The following two one-line fixes will correct this:

Code:
update_calculator_display((root = calc_result));

must become
Code:
update_calculator_display((number_field = calc_result = root));


and

Code:
update_calculator_display((calc_result = factresult));

must become
Code:
update_calculator_display((number_field = calc_result = factresult));

Author:  andymc [ Mon Nov 02, 2015 12:18 pm ]
Post subject:  Re: Calculator bug fix

Thanks nextvolume.

Is this some new bug? Did I do that? I looked at a bunch of diffs but I think I only changed some formatting and window- and i18n-related things.

Any new programs to contribute?? :mrgreen: :mrgreen:

Andy

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/