summaryrefslogtreecommitdiff
path: root/lang/wsbasic/patches/patch-ab
blob: c5bd1ef73780b1967c7f9361e0ee61cb0db4766e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ab,v 1.1 2005/10/26 15:58:54 minskim Exp $

--- number.h.orig	2004-06-09 02:20:18.000000000 +0200
+++ number.h
@@ -26,7 +26,7 @@ class Number{
     //==============
     void toString(); //explicit conversion to string strVal
     void toDouble(); //explicit conversion to double val
-    void setValue( double d ){ val=d; strVal.clear(); bString=false;}
+    void setValue( double d ){ val=d; bString=false;}
     void setValue( const string& s ){ strVal=s; bString=true;}
 
     void minus(){ val=-val; }