Skip to content

Commit

Permalink
Fixed for Linux, based on my previous checkins
Browse files Browse the repository at this point in the history
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5795 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
Matthias Melcher committed May 2, 2007
1 parent b4b6776 commit b2ca1b9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/fl_ask.cxx
Expand Up @@ -183,7 +183,7 @@ void resizeform() {
}

static const char *check_html(const char *src) {
if (!src || strnicmp(src, "<html", 5)==0)
if (!src || strncasecmp(src, "<html", 5)==0)
return src;
const char *s = src;
int n = 1;
Expand Down Expand Up @@ -231,8 +231,7 @@ static int innards(const char* fmt, va_list ap,
if (!strcmp(fmt,"%s")) {
txt = va_arg(ap, const char*);
} else {
//: matt: MacOS provides two equally named vsnprintf's...
::vsnprintf(buffer, 1024, fmt, ap);
fl_vsnprintf(buffer, 1024, fmt, ap);
txt = buffer;
}
html = check_html(txt);
Expand Down

0 comments on commit b2ca1b9

Please sign in to comment.