Commit Graph
1 Commits
Author SHA1 Message Date
Andrew BarnesandEvan Almloff 2a34be5815 Fix panic in calculator when pressing ± after AC (#5352)
* fix: handle empty string in calculator plus-minus button

calc_val() panics on empty string when AC is pressed before the
plus-minus button. Return 0.0 early for empty input.

Fixes #4858

* fix a few ci failures

* fix link check

---------

Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
2026-03-10 11:33:41 -07:00