Subversion Repositories Kolibri OS

Rev

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

Rev 6435 Rev 6637
Line 206... Line 206...
206
;	@@:
206
;	@@:
Line 207... Line 207...
207
 
207
 
208
; òåïåðü â ecx íîìåð ïðîöåññà
208
; òåïåðü â ecx íîìåð ïðîöåññà
209
;	mov	[process],ecx
209
;	mov	[process],ecx
210
;---------------------------------------------------------------------
210
;---------------------------------------------------------------------
211
	cmp	[wnd_width],635
211
	cmp	[wnd_width],778
212
	jae	@f
212
	jae	@f
213
	mov	[wnd_width],635
213
	mov	[wnd_width],778
214
@@:
214
@@:
215
	mcall 48, 5     ; GetClientTop, fix for case when @patel in the top
215
	mcall 48, 5     ; GetClientTop, fix for case when @patel in the top
216
    shr ebx, 16
216
    shr ebx, 16
217
	mov	ecx,ebx
217
	mov	ecx,ebx
218
	shl ecx,16
218
	shl ecx,16
219
	add ecx,150	   ; [y start] *65536 + [y size]
219
	add ecx,523	   ; [y start] *65536 + [y size]
220
	cmp	[wnd_height],ecx
220
	cmp	[wnd_height],ecx
221
	jae	@f
221
	jae	@f
222
	mov	[wnd_height],ecx
222
	mov	[wnd_height],ecx
223
@@:
223
@@: