forked from KolibriOS/kolibrios
WebView: optimization of the prior commit
git-svn-id: svn://kolibrios.org@9351 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
67c53d7a93
commit
061d9823f5
@ -150,17 +150,17 @@ void TWebBrowser::tag_meta_xml()
|
|||||||
}
|
}
|
||||||
if (streq(tag.get_value_of("name"), "application")) {
|
if (streq(tag.get_value_of("name"), "application")) {
|
||||||
if (application_mode) {
|
if (application_mode) {
|
||||||
if (tag.get_value_of("left")) {
|
if (tag.get_number_of("left")) {
|
||||||
MoveSize(atoi(tag.value),-1,-1,-1);
|
MoveSize(tag.number,-1,-1,-1);
|
||||||
}
|
}
|
||||||
if (tag.get_value_of("top")) {
|
if (tag.get_number_of("top")) {
|
||||||
MoveSize(-1,atoi(tag.value),-1,-1);
|
MoveSize(-1,tag.number,-1,-1);
|
||||||
}
|
}
|
||||||
if (tag.get_value_of("width")) {
|
if (tag.get_number_of("width")) {
|
||||||
MoveSize(-1,-1,atoi(tag.value),-1);
|
MoveSize(-1,-1,tag.number,-1);
|
||||||
}
|
}
|
||||||
if (tag.get_value_of("height")) {
|
if (tag.get_number_of("height")) {
|
||||||
MoveSize(-1,-1,-1,atoi(tag.value));
|
MoveSize(-1,-1,-1,tag.number);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user