Subversion Repositories Kolibri OS

Rev

Rev 7573 | Rev 7576 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7573 Rev 7575
Line 161... Line 161...
161
		stdcall [ted_but_find_next], tedit0
161
		stdcall [ted_but_find_next], tedit0
162
		jmp still
162
		jmp still
163
	@@:
163
	@@:
Line 164... Line 164...
164
 
164
 
165
	cmp ah,1
165
	cmp ah,1
-
 
166
	jne @f
-
 
167
		call ted_Exit
-
 
168
		jmp still
Line 166... Line 169...
166
	je .exit
169
	@@:
167
 
170
 
168
	cmp ah,199
171
	cmp ah,199
169
	je .exit
172
	jne still
-
 
173
		call ted_Exit
-
 
174
	jmp still
170
  
175
 
171
	jmp still
176
align 4
172
.exit:
177
ted_Exit:
173
	cmp dword[wnd_k_words_run],0
178
	cmp dword[wnd_k_words_run],0
174
	je @f
179
	je @f
175
		push ebx ecx
180
		push ebx ecx
-
 
181
		mcall SF_SYSTEM, SSF_TERMINATE_THREAD_ID,[wnd_k_words_run]
176
		mcall SF_SYSTEM, SSF_TERMINATE_THREAD_ID,[wnd_k_words_run]
182
		pop ecx ebx
177
		pop ecx ebx
-
 
178
		test eax,eax
183
		mov dword[wnd_k_words_run],0
179
		jnz still
184
		;test eax,eax
180
	@@:
185
	@@:
181
	cmp dword[exit_code],1
186
	cmp dword[exit_code],1
182
	je @f
187
	je @f
183
	stdcall [ted_can_save], tedit0
188
	stdcall [ted_can_save], tedit0
184
	cmp al,1
189
	cmp al,1
185
	jne @f
190
	jne @f
186
		stdcall [mb_create],msgbox_2,thread ;message: save buf in file?
191
		stdcall [mb_create],msgbox_2,thread ;message: save buf in file?
187
		stdcall [mb_setfunctions],msgbox_2E_funct
192
		stdcall [mb_setfunctions],msgbox_2E_funct
188
		jmp still
193
		ret
189
	@@:
194
	@@:
190
	stdcall mem.Free,[bmp_icon]
195
	stdcall mem.Free,[bmp_icon]
191
	cmp dword[unpac_mem],0
196
	cmp dword[unpac_mem],0
192
	je @f
197
	je @f
193
		stdcall mem.Free,[unpac_mem]
-
 
194
	@@:
198
		stdcall mem.Free,[unpac_mem]
195
 
199
	@@:
196
	stdcall [ted_delete], tedit0
200
	stdcall [ted_delete], tedit0
-
 
201
	stdcall [tl_data_clear], tree1
Line 197... Line 202...
197
	stdcall [tl_data_clear], tree1
202
	mcall SF_TERMINATE_PROCESS ;¢ë室 ¨§ ¯à®£à ¬¬ë
198
	mcall SF_TERMINATE_PROCESS ;¢ë室 ¨§ ¯à®£à ¬¬ë
203
	;ret
199
 
204
 
200
;input:
205
;input: