From fafb8a9bbf6df81598adc3e012fef94881c2d511 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Wed, 14 Sep 2011 00:30:42 +0000 Subject: [PATCH] Quick Updates svn path=/trunk/boinc/; revision=24196 --- samples/vboxwrapper/vbox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/vboxwrapper/vbox.cpp b/samples/vboxwrapper/vbox.cpp index 947671bd7d..582f5186ee 100644 --- a/samples/vboxwrapper/vbox.cpp +++ b/samples/vboxwrapper/vbox.cpp @@ -306,7 +306,7 @@ bool VBOX_VM::is_running() { if (vbm_popen(command, output) == 0) { vmstate_location = output.find("VMState=\""); if (vmstate_location != string::npos) { - vmstate_location += 9; + vmstate_location += 10; vmstate_length = output.find("\"", vmstate_location); vmstate = output.substr(vmstate_location, vmstate_length);