[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Fwd: Konqueror/html Bug (new)
From: Stephan.Althaus () t-online ! de (Stephan Althaus)
Date: 2000-03-14 18:24:44
[Download RAW message or body]
This file is not displayed correctly, I get something like
extern4int4SDL_SetColors(SDL_Surface4*surface,4SDL_Color4*colors,
4444444444444444444444444444int firstcolor, int ncolors);
but is has to be like
extern int SDL_SetColors(SDL_Surface *surface, SDL_Color *colors,
int firstcolor, int ncolors);
The file is attached.
Stephan Althaus
P.S. If I should send this kind of bug elsewere, or wait, or .. - please tell
me when I'm boring..
-------------------------------------------------------
- Stephan.Althaus@t-online.de
["bug.html" (text/html)]
<HTML>
<PRE>
<B>extern SDL_Surface *SDL_LoadBMP(const char *file);</B>
Lädt eine Windows BMP-Datei, die als Surface zurückgegeben wird.
Falls ein Fehler auftritt, wird NULL zurückgeliefert.
Nach der Verwendung sollte das Surface mittels SDL_FreeSurface() wieder
aus dem Speicher entfernt werden.
<B>extern int SDL_SetColors(SDL_Surface *surface, SDL_Color *colors,
int firstcolor, int ncolors);</B>
Setzt die Farbtabelle der übergebenden Surface. Benutzt die Surface
keine Palette, so arbeitet die Funktion nicht und gibt eine 0 zurück.
Eine 0 wird auch dann zurückgeliefert, wenn nicht alle
Paletteneinträge korrekt gesetzt werden konnten. War SDL_SetColors
hingegen erfolgreich, so wird eine 1 zurückgegeben. Vergleiche auch
SDL_SetVideoMode(), falls es sich bei der Surface um die Video-Surface
handelt.
</PRE>
</HTML>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic