Ignore:
Timestamp:
08/19/06 20:22:55 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbase/MString.cc

    r5713 r7887  
    120120// M/TString.
    121121//
    122 MString MString::Form(const char *fmt, ...)
     122MString MString::Format(const char *fmt, ...)
    123123{
    124124    va_list ap;
     
    129129    return ret;
    130130}
     131
     132// --------------------------------------------------------------------------
     133//
     134// This is my implementation for root versions prior to 5.12/00 where
     135// TString::Form didn't exist.
     136//
     137void MString::Form(const char *fmt, ...)
     138{
     139    va_list ap;
     140    va_start(ap, fmt);
     141
     142    Print(fmt, ap);
     143}
Note: See TracChangeset for help on using the changeset viewer.