Clean up segment processing loop

This commit is contained in:
Kevin Sawicki
2012-06-13 21:25:59 -07:00
parent 5f03bce16f
commit b8cf8355ba

View File

@@ -83,12 +83,10 @@ void NativeHandler::Absolute(const CefString& name,
if (segments.empty()) {
retval = CefV8Value::CreateString("/");
return;
} else {
segments.pop_back();
continue;
}
}
segments.push_back(segment);
segments.pop_back();
} else
segments.push_back(segment);
}
string absolutePath;