Skip to content

Commit

Permalink
changed version
Browse files Browse the repository at this point in the history
  • Loading branch information
thanoulis committed Feb 14, 2024
1 parent a965a27 commit 0392cfb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tedit
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace eval tEdit {
variable marknum
array set marknum {}

variable version {1.7.8}
variable version {1.7.9}
variable safe [interp create -safe]
variable filepath {}
variable message {}
Expand Down Expand Up @@ -598,9 +598,7 @@ proc calculateExpr {text} {
try {
$tEdit::safe eval [list expr [string map {/ *1.0/} $math]]
} on error msg {
set msg [lindex [split $msg "\n"] 0]
puts stderr $msg
showMessage $msg
showMessage [lindex [split $msg "\n"] 0]
} on ok result {
# round to user defined decimal points
set result [expr {precision($result,$tEdit::precision)}]
Expand Down

0 comments on commit 0392cfb

Please sign in to comment.