diff options
Diffstat (limited to 'kturtle/src/executer.cpp')
-rw-r--r-- | kturtle/src/executer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kturtle/src/executer.cpp b/kturtle/src/executer.cpp index e50c64a5..dd8ae8f2 100644 --- a/kturtle/src/executer.cpp +++ b/kturtle/src/executer.cpp @@ -894,7 +894,7 @@ void Executer::execRandom(TreeNode* node) if ( !checkParameterType(node, numberValue, 5060) ) return; double x = nodeX->getValue().Number(); double y = nodeY->getValue().Number(); - double r = (double)( KApplication::random() ) / RAND_MAX; + double r = (double)( TDEApplication::random() ) / RAND_MAX; node->setValue( r * ( y - x ) + x ); } |