Quick Updates

svn path=/trunk/boinc/; revision=24196
This commit is contained in:
Rom Walton 2011-09-14 00:30:42 +00:00
parent 54c27ff947
commit fafb8a9bbf
1 changed files with 1 additions and 1 deletions

View File

@ -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);