Rev 444 | Rev 447 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 444 | Rev 445 | ||
---|---|---|---|
Line 223... | Line 223... | ||
223 | for(i = 0; i < nplanes; i++) |
223 | for(i = 0; i < nplanes; i++) |
224 | if(!tree[i]){ |
224 | if(!tree[i]){ |
225 | /* uh oh, couldn't parse one of the saved expressions...this is fatal */ |
225 | /* uh oh, couldn't parse one of the saved expressions...this is fatal */ |
226 | DISABLEDLGITEM(dp,IDOK); |
226 | DISABLEDLGITEM(dp,IDOK); |
227 | if(gdata->standalone){ |
227 | if(gdata->standalone){ |
228 | alertuser((TCHAR*)TEXT("Can't run this filter (there is a problem with the saved expressions)."), (TCHAR*)TEXT("")); |
228 | simplealert((TCHAR*)TEXT("Can't run this filter (there is a problem with the saved expressions).")); |
229 | }else{ |
229 | }else{ |
230 | DISABLEDLGITEM(dp,SAVEITEM); |
230 | DISABLEDLGITEM(dp,SAVEITEM); |
231 | DISABLEDLGITEM(dp,MAKEITEM); |
231 | DISABLEDLGITEM(dp,MAKEITEM); |
232 | } |
232 | } |
233 | return; |
233 | return; |
Line 522... | Line 522... | ||
522 | item -= FIRSTICONITEM; |
522 | item -= FIRSTICONITEM; |
523 | { |
523 | { |
524 | #ifdef UNICODE |
524 | #ifdef UNICODE |
525 | TCHAR errW[0x300]; |
525 | TCHAR errW[0x300]; |
526 | mbstowcs(errW, err[item], 0x300); |
526 | mbstowcs(errW, err[item], 0x300); |
527 | alertuser(errW, (TCHAR*)TEXT("")); |
527 | simplealert(errW); |
528 | #else |
528 | #else |
529 | alertuser(err[item], (TCHAR*)TEXT("")); |
529 | simplealert(err[item]); |
530 | #endif |
530 | #endif |
531 | } |
531 | } |
532 | SELECTCTLTEXT(dp,FIRSTEXPRITEM+item,errstart[item],errpos[item]); |
532 | SELECTCTLTEXT(dp,FIRSTEXPRITEM+item,errstart[item],errpos[item]); |
533 | break; |
533 | break; |
534 | case FIRSTEXPRITEM: |
534 | case FIRSTEXPRITEM: |