diff options
Diffstat (limited to 'lout/identity.cc')
-rw-r--r-- | lout/identity.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lout/identity.cc b/lout/identity.cc index 7c650b24..ebe95ef0 100644 --- a/lout/identity.cc +++ b/lout/identity.cc @@ -17,8 +17,6 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ - - #include "identity.hh" #include <stdio.h> @@ -78,6 +76,7 @@ void IdentifiableObject::registerName (const char *className, int *classId) } this->classId = klass->id; + *classId = klass->id; currentlyConstructedClass = klass; } |