Commit 2b36a70e authored by captainwong's avatar captainwong

update split_rect's param LPRECT to LPCRECT

parent ee0c7411
...@@ -136,7 +136,7 @@ public: ...@@ -136,7 +136,7 @@ public:
}; };
// ƽָn // ƽָn
inline std::vector<RECT> split_rect(LPRECT rc, int n, int gap = 50) { inline std::vector<RECT> split_rect(LPCRECT rc, int n, int gap = 50) {
std::vector<RECT> v; std::vector<RECT> v;
for (int i = 0; i < n; i++) { for (int i = 0; i < n; i++) {
v.push_back(*rc); v.push_back(*rc);
......
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