Skip to content

Commit

Permalink
Plugin calculator: return 0 and -1 aside TRUE and FALSE
Browse files Browse the repository at this point in the history
  • Loading branch information
kokoko3k committed Dec 27, 2016
1 parent df7de8c commit e3c53ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .src/plugins/plugin_010_calculator.class
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ Private Function create_item(expr As String) As RItemT

return_item.image_file = "icon:/" & iconsize & "/calculator"

If evalued = True Then evalued = ("TRUE")
If evalued = False Then evalued = ("FALSE")
If evalued = True Then evalued = ("-1 (boolean TRUE)")
If evalued = False Then evalued = ("0 (boolean FALSE)")

return_item.Text = evalued
return_item.SubText = "= " & expr
Expand Down

0 comments on commit e3c53ee

Please sign in to comment.