www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/26/16:00:36

From: nico DOT moreau AT altavista DOT net (nico)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: What is wrong with this code?
Date: Tue, 26 May 1998 19:53:19 GMT
Organization: none
Lines: 14
Message-ID: <356b1d30.1307940@news.internetsat.com>
References: <3569605a DOT 0 AT news DOT thefree DOT net>
Reply-To: nico DOT moreau AT altavista DOT net
NNTP-Posting-Host: dia17.alpes-net.fr
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Do this

>textout(screen,data[TITLE_FONT].dat,"This is a test",0,0,15);

textout(screen,(FONT *)(data[TITLE_FONT].dat),"This is a
test",0,0,15);

It should work, you have to cast the data to the right structure, in
this case it's a (FONT *)

Bye

Nico

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019