Subversion Repositories wimsdev

Compare Revisions

Ignore whitespace Rev 18164 → Rev 18165

/trunk/wims/src/Misc/canvasdraw/canvasdraw.c
4250,6 → 4250,16
}
}
break;
case RESET:
/*
@ reset
@ keyword
@ disables the effects of the <a href="noreset">noreset</a> command
@ so the next objects will not be <a href="#filled">filled</a> and <a href="#dashed">dashed</a>
*/
no_reset = FALSE; reset();
break;
 
case RESETOFFSET:
/*
6987,6 → 6997,7
*linear="linear",
*obabel="obabel",
*chemtex="chemtex",
*reset="reset",
*noreset="noreset",
*killreset="killreset",
*arrowarc="arrowarc",
7020,7 → 7031,7
input_type=(char*)my_newmem(strlen(temp));
snprintf(input_type,sizeof(temp),"%s",temp);
}
/* fprintf(stdout,"input_type = %s<br/>",input_type);*/
fprintf(stdout,"input_type = %s no_reset = %d <br/>",input_type,no_reset);
if( strcmp(input_type, size) == 0 ){
free(input_type);
return SIZE;
7937,6 → 7948,10
free(input_type);
return IMAGEPALETTE;
}
if( strcmp(input_type,reset) == 0){
free(input_type);
return RESET;
}
if( strcmp(input_type, resetoffset) == 0 ){
free(input_type);
return RESETOFFSET;