dmb@wam.umd.edu (David M. Baggett) (04/23/91)
In article <11851@jarthur.Claremont.EDU> cliff@jarthur.claremont.edu (Clifford Stein) writes: > >Is Setpallete the standard spelling for the sepalette routine? Sozobon C >drove me up the wall because it took me some time to find out the function >call was mispelled (they spelled it "Setpallete" instead of "Setpalette" >which I think be correct). Anyway, I just found that GCC1.39 spells it >"Setpallete" as well. What's the deal? It was spelled that way in Atari's original osbind.h --- the spelling has been retained in most compilers for "historical reasons." >My books refer to the call as >"Setpalette," and palette is spelled palette. I haven't a clue as to what a >pallete is. I went into my osbind.h files and fixed the entries, though >maybe I should change it back if others' programs are going to puke on my >computer. The easiest thing to do is put the lines #ifndef Setpalette #define Setpalette Setpallete #endif Sepalette right after #include <osbind.h> and your code will work with all ST compilers. The #ifndef ensures that "if ain't broke you won't fix it." Dave Baggett dmb%wam.umd.edu@uunet.uu.net