Path: utzoo!attcan!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.windows.x Subject: Re: Wcl Version 1.03 Minor Fix Message-ID: <3849@auspex.auspex.com> Date: 7 Aug 90 18:41:00 GMT References: <9036@jpl-devvax.JPL.NASA.GOV> Organization: Auspex Systems, Santa Clara Lines: 13 > if ( strstr( res_type, "Widget") >#ifdef MOTIF > || strstr( res_type, "Window") /* wrong: but that's a menuWidget */ >#endif > ) > >You can change the `strstr' to `strtok' and everything will work fine. If that's true, it's sure a lucky coincidence, as "strstr()" and "strtok()" don't do anything very much related.... An N*M-time implementation of "strstr()" isn't that hard to do.