changed some sprintfs to strcats, thanks to Fredrik Axelsson for the patch
authorJoseph Eagar <joeedh@gmail.com>
Tue, 28 Jul 2009 17:23:45 +0000 (17:23 +0000)
committerJoseph Eagar <joeedh@gmail.com>
Tue, 28 Jul 2009 17:23:45 +0000 (17:23 +0000)
source/blender/src/editmesh_loop.c

index dfd18e208fb4794739419de822bb10c938f6219a..21cd69cd2b45d121a9a5d60f4020ad770da16637 100644 (file)
@@ -246,9 +246,9 @@ void CutEdgeloop(int numcuts)
                        
                        sprintf(msg,"Number of Cuts: %d",numcuts);
                        if(smooth){
                        
                        sprintf(msg,"Number of Cuts: %d",numcuts);
                        if(smooth){
-                               sprintf(msg,"%s (S)mooth: on",msg);
+                               strcat(msg," (S)mooth: on");
                        } else {
                        } else {
-                               sprintf(msg,"%s (S)mooth: off",msg);
+                               strcat(msg," (S)mooth: off");
                        }
                        
                        headerprint(msg);
                        }
                        
                        headerprint(msg);