GDBCLICommand.st
changeset 274 806d4e9ad4f1
parent 273 1cf90f7888e1
child 275 66faa66e7bae
--- a/GDBCLICommand.st	Wed Jul 12 16:08:20 2023 +0100
+++ b/GDBCLICommand.st	Wed Jul 12 16:10:07 2023 +0100
@@ -306,7 +306,7 @@
 
         i := value indexOfSeparator.
         i ~~ 0 ifTrue:[
-            operation := value copyTo: i - 1.
+            operation := value copyFrom: 1 to: i - 1.
         ] ifFalse:[ 
             operation := value.
         ].
@@ -358,7 +358,7 @@
         i := i - 1.
     ].
     c == $& ifTrue:[ 
-        value := aString copyTo: i - 1.
+        value := aString copyFrom: 1 to: i - 1.
         runOnBackground := true.
     ] ifFalse:[ 
         value := aString.
@@ -366,6 +366,7 @@
     ].
 
     "Modified (format): / 28-01-2019 / 23:05:28 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 12-07-2023 / 15:30:12 / Jan Vrany <jan.vrany@labware.com>"
 ! !
 
 !GDBCLICommand methodsFor:'testing'!