From: "Damian Yerrick" Newsgroups: comp.os.msdos.djgpp References: <385F773A DOT 595A9DB1 AT e DOT mail> Subject: Re: Rhide bug? Lines: 30 Organization: Pin Eight Software X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Message-ID: <4GM74.498$PK3.5161@dfiatx1-snr1.gtei.net> X-Trace: /ba9QYAXBIKAQpzdA1oJvB4taWR9gueHJADka5a4cbfSXpG6Wxoz6fGCuek7K+moH+XyFyUoxpbl!nLaT4A7iECIGyC5arzzcMP0plAR5rXmWuBisyQLsPZuGYnVjqdepf/dss4+Jjd/4+Q== X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Tue, 21 Dec 1999 15:04:32 GMT Distribution: world Date: Tue, 21 Dec 1999 15:04:32 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Hans Yperman" wrote: > The Edit->Compact text function may do bad things with your code. > > (I assume in this example that a tab=8 spaces.) > Do this:(not indented, start at column 0) > *xy++=' '; > with the space between the quotes on the tabstops-1'th column. > Now there is no way to see the difference between tab and > space on this place, so Rhide replaces the space with a tab. > At runtime,a tab is written in the string,not a space. It's a readability flaw in your code. Try *xy++ = '\t'; -- Damian Yerrick http://yerricde.tripod.com/ View full .sig: http://www.rose-hulman.edu/~yerricde/sig.html and now you must pay...