git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3155 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2009-04-06 01:01:31 +00:00
parent 879e5b59c6
commit a838650a40
2 changed files with 4 additions and 2 deletions

View file

@ -1000,7 +1000,7 @@ void Con_DrawInput (void)
maskedtext[p] = (maskedtext[p]&255) | (COLOR_YELLOW<<CON_FGSHIFT);
}
else
Plug_SpellCheckMaskedText(maskedtext+1, i-1, x, y, 8);
Plug_SpellCheckMaskedText(maskedtext+1, i-1, x, y, 8, si, con_current->linewidth);
if (key_linepos == i) //cursor is at end
{

View file

@ -67,6 +67,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#ifndef WS_EX_LAYERED
#define WS_EX_LAYERED 0x00080000
#endif
#ifndef LWA_ALPHA
#define LWA_ALPHA 0x00000002
#endif
typedef BOOL (WINAPI *lpfnSetLayeredWindowAttributes)(HWND hwnd, COLORREF crKey, BYTE bAlpha, DWORD dwFlags);
@ -1010,7 +1012,7 @@ void VID_Size_Override_Callback(struct cvar_s *var, char *oldvalue)
void VID_WndAlpha_Override_Callback(struct cvar_s *var, char *oldvalue)
{
#ifdef GWL_EXSTYLE
#ifdef WS_EX_LAYERED
if (modestate==MS_WINDOWED)
{
int av;