summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2d7faae)
raw | patch | inline | side by side (parent: 2d7faae)
author | joncruz <joncruz@users.sourceforge.net> | |
Sat, 1 Mar 2008 09:02:46 +0000 (09:02 +0000) | ||
committer | joncruz <joncruz@users.sourceforge.net> | |
Sat, 1 Mar 2008 09:02:46 +0000 (09:02 +0000) |
src/libnr/nr-rect.h | patch | blob | history |
diff --git a/src/libnr/nr-rect.h b/src/libnr/nr-rect.h
index fc4d617df775bc086e9e16d3c310c86d44951dae..5d897c6959e7e1b1ccee10fcf40cab6b5651fb83 100644 (file)
--- a/src/libnr/nr-rect.h
+++ b/src/libnr/nr-rect.h
/* NULL rect is infinite */
struct NRRect {
- NRRect() {}
+ NRRect()
+ : x0(0), y0(0), x1(0), y1(0)
+ {}
NRRect(NR::Coord xmin, NR::Coord ymin, NR::Coord xmax, NR::Coord ymax)
: x0(xmin), y0(ymin), x1(xmax), y1(ymax)
{}