Kaydet (Commit) 4aab4a87 authored tarafından Zolnai Tamás's avatar Zolnai Tamás

This condition is uneeded and cause localize not to work

See also: 73b7792f

Change-Id: I9ea5e77cf84ce9ac6b247b97e579373831ab9ab9
üst 32acb98b
...@@ -461,15 +461,13 @@ void handleDirectory( ...@@ -461,15 +461,13 @@ void handleDirectory(
break; break;
default: default:
if (stat.getFileType() == osl::FileStatus::Directory) { if (stat.getFileType() == osl::FileStatus::Directory) {
if (level == 2) { OString pr(projectRoot);
OString pr(projectRoot); if (!pr.isEmpty()) {
if (!pr.isEmpty()) { pr += OString('/');
pr += OString('/');
}
pr += OString("..");
handleDirectory(stat.getFileURL(), 2, project, pr,
actualPotDir.concat("/").concat(sFileName));
} }
pr += OString("..");
handleDirectory(stat.getFileURL(), 2, project, pr,
actualPotDir.concat("/").concat(sFileName));
} else { } else {
handleFile(project, projectRoot, handleFile(project, projectRoot,
stat.getFileURL(), actualPotDir, aPoOutPut); stat.getFileURL(), actualPotDir, aPoOutPut);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment