From 9c24bd0bb259124e36367c9c8a62af7b19ba8e67 Mon Sep 17 00:00:00 2001 From: neoraider Date: Mon, 14 Apr 2008 09:19:00 +0000 Subject: zoomedit: * Use 0 instead of NULL consistantly --- src/Data/Level.cpp | 6 +++--- src/Data/Triangle.cpp | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/Data') 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; } } -- cgit v1.2.3