Commit 204ec0c3 authored by Jan Möbius's avatar Jan Möbius

Fixed tutorial



git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@974 fdac6126-5c0c-442c-9429-916003d36597
parent 6c7d87b4
......@@ -27,12 +27,9 @@ std::string int2roman( size_t decimal, size_t length )
size_t power; // power of ten
size_t index; // Indexes thru values to subtract
std::string roman;
std::string roman = "";
roman.reserve(length);
roman[ 0 ] = '\0';
for ( power = 0; power < nrows; power++ )
for ( index = 0; index < ncols; index++ )
while ( decimal >= table_arabs[ power ][ index ] )
......
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