Permalink
Browse files

Fixed the typo in resetClassStyle (#4971)

  • Loading branch information...
1 parent fc99472 commit ac1bc492df94670383ed61634789671885e6577a @szekerest szekerest committed Aug 14, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 mapfile.c
View
@@ -3405,7 +3405,7 @@ void resetClassStyle(classObj *class)
/* reset labels */
for(i=0; i<class->numlabels; i++) {
- if(class->styles[i] != NULL) {
+ if(class->labels[i] != NULL) {
if(freeLabel(class->labels[i]) == MS_SUCCESS ) {
msFree(class->labels[i]);
}

0 comments on commit ac1bc49

Please sign in to comment.