[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[mgp-users-jp 00093] Re: 1.02a



: お待たせしました。MagicPoint 1.02 alpha をリリースします。

draw.c のなかで

	state->phase = P_END;

したあと, 再び state->phase = P_PAGE されてしまいます.
こんなふうにするのは正しいでしょうか?

--
Hideki Sakurada <sakurada@kuis.kyoto-u.ac.jp>


*** draw.c.orig	Fri Jan 16 23:35:26 1998
--- draw.c	Sat Jan 17 02:22:04 1998
***************
*** 253,259 ****
  	assert(state);
  
  	/* initialize the state, if required. */
! 	if (!state->cp || state->phase == P_NONE) {
  		state_newpage(state);
  		state_init(state);
  	}
--- 253,259 ----
  	assert(state);
  
  	/* initialize the state, if required. */
! 	if (state->phase != P_END && (!state->cp || state->phase == P_NONE)) {
  		state_newpage(state);
  		state_init(state);
  	}