summaryrefslogtreecommitdiffstats
path: root/src/Data
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2008-04-14 11:19:00 +0200
committerneoraider <devnull@localhost>2008-04-14 11:19:00 +0200
commit9c24bd0bb259124e36367c9c8a62af7b19ba8e67 (patch)
treefe3274185ef36bfd64e0c73ec364602109ba3a98 /src/Data
parent55af49b48328d4828fe8520d7d7aa0bc776afeb0 (diff)
downloadzoomedit-9c24bd0bb259124e36367c9c8a62af7b19ba8e67.tar
zoomedit-9c24bd0bb259124e36367c9c8a62af7b19ba8e67.zip
zoomedit:
* Use 0 instead of NULL consistantly
Diffstat (limited to 'src/Data')
-rw-r--r--src/Data/Level.cpp6
-rw-r--r--src/Data/Triangle.cpp4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/Data/Level.cpp b/src/Data/Level.cpp
index 283bf66..7193f37 100644
--- a/src/Data/Level.cpp
+++ b/src/Data/Level.cpp
@@ -69,7 +69,7 @@ Room* Level::getRoom(const Glib::ustring &id) const {
return *room;
}
- return NULL;
+ return 0;
}
Room* Level::addRoom(const Glib::ustring &id) {
@@ -95,7 +95,7 @@ Gate* Level::getGate(const Glib::ustring &id) const {
return *gate;
}
- return NULL;
+ return 0;
}
Gate* Level::addGate(const Glib::ustring &id) {
@@ -123,7 +123,7 @@ Texture* Level::getTexture(const Glib::ustring &id) const {
return *tex;
}
- return NULL;
+ return 0;
}
Texture* Level::addTexture(const Glib::ustring &id) {
diff --git a/src/Data/Triangle.cpp b/src/Data/Triangle.cpp
index a85d8ad..096081b 100644
--- a/src/Data/Triangle.cpp
+++ b/src/Data/Triangle.cpp
@@ -101,8 +101,8 @@ Triangle::Triangle(xmlpp::Element *node) : triangleNode(node) {
vertexNodes[++i] = e;
vertices[i] = loadVertex(e);
- normalNodes[i] = NULL;
- texCoordsNodes[i] = NULL;
+ normalNodes[i] = 0;
+ texCoordsNodes[i] = 0;
}
}