Skip to content

Commit

Permalink
move property settings to credocument
Browse files Browse the repository at this point in the history
  • Loading branch information
chrox committed Oct 16, 2013
1 parent 0cb1f12 commit 61f28fb
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions cre.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -484,11 +484,6 @@ static int setPageMargins(lua_State *L) {
rc.right = luaL_checkint(L, 4);
rc.bottom = luaL_checkint(L, 5);
doc->text_view->setPageMargins(rc);
CRPropRef props = doc->text_view->propsGetCurrent();
props->setInt(PROP_PAGE_MARGIN_LEFT, rc.left);
props->setInt(PROP_PAGE_MARGIN_TOP, rc.top);
props->setInt(PROP_PAGE_MARGIN_RIGHT, rc.right);
props->setInt(PROP_PAGE_MARGIN_BOTTOM, rc.bottom);
return 0;
}

Expand Down

0 comments on commit 61f28fb

Please sign in to comment.