[Bf-committers] CVS commit: blender/source/blender/src toolbox.c

Unprivileged User bf-committers@blender.org
Sun, 22 Dec 2002 14:43:22 +0100 (CET)


nobody      2002/12/22 14:43:22 CET

  Modified files:
    blender/source/blender/src toolbox.c 
  
  Log:
  fixed a *really* minor bug where tooltips were not resetting if next
  call to add_numbut() asks for a NULL tooltip. --aphex
  
  ============================================================
  RCS file: /cvs01/blender/source/blender/src/toolbox.c,v
  retrieving revision 1.4
  diff -r1.4 toolbox.c
  1356c1356,1360
  < 	if(tip) strcpy(numbuts[nr].tip, tip);
  ---
  > 	if(tip)
  > 		strcpy(numbuts[nr].tip, tip);
  > 	else
  > 		strcpy(numbuts[nr].tip, "");
  >
  
  Revision  Changes    Path
  1.5       +6 -2      blender/source/blender/src/toolbox.c