clipboard setting background check correction.

This commit is contained in:
Campbell Barton 2010-12-12 21:28:07 +00:00
parent 450a09de2e
commit 433eeee41f

@ -1030,6 +1030,7 @@ char *WM_clipboard_text_get(int selection)
void WM_clipboard_text_set(char *buf, int selection)
{
if(!G.background) {
#ifdef _WIN32
/* do conversion from \n to \r\n on Windows */
char *p, *p2, *newbuf;
@ -1057,9 +1058,7 @@ void WM_clipboard_text_set(char *buf, int selection)
#else
GHOST_putClipboard((GHOST_TInt8*)buf, selection);
#endif
if(G.background)
return;
}
}
/* ******************* progress bar **************** */