sourcemm/ISmmPlugin.h
changeset 376 f2d55f90f697
parent 375 17ca1d5645ac
child 396 ed81bca8944a
     1.1 --- a/sourcemm/ISmmPlugin.h	Sat Oct 06 15:47:59 2007 +0000
     1.2 +++ b/sourcemm/ISmmPlugin.h	Sat Oct 06 16:47:58 2007 +0000
     1.3 @@ -425,7 +425,7 @@
     1.4  	{ \
     1.5  		if (error && maxlen) \
     1.6  		{ \
     1.7 -			snprintf(error, maxlen, "Could not find interface: %s", v_name); \
     1.8 +			ismm->Format(error, maxlen, "Could not find interface: %s", v_name); \
     1.9  		} \
    1.10  		return false; \
    1.11  	}
    1.12 @@ -444,7 +444,7 @@
    1.13  	{ \
    1.14  		if (error && maxlen) \
    1.15  		{ \
    1.16 -			snprintf(error, maxlen, "Could not find interface: %s", v_name); \
    1.17 +			ismm->Format(error, maxlen, "Could not find interface: %s", v_name); \
    1.18  		} \
    1.19  		return false; \
    1.20  	}