mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Clean up segment processing loop
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user