From 4ab718bdd67ee0b5327269e24675070c2a705cc5 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 17 Sep 2013 20:32:46 +0200 Subject: xpl: rename user-visible data following fork --- x-plane-plugin/plugin.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/x-plane-plugin/plugin.c b/x-plane-plugin/plugin.c index 9bc5c484..eae2bf0b 100644 --- a/x-plane-plugin/plugin.c +++ b/x-plane-plugin/plugin.c @@ -108,19 +108,19 @@ PLUGIN_API int XPluginStart ( char * outName, char * outSignature, char * outDes if (view_x && view_y && view_z && view_heading && view_pitch) { lck_posix = PortableLockedShm_init(WINE_SHM_NAME, WINE_MTX_NAME, sizeof(WineSHM)); if (lck_posix->mem == (void*)-1) { - fprintf(stderr, "FTNOIR failed to init SHM #1!\n"); + fprintf(stderr, "opentrack failed to init SHM #1!\n"); return 0; } if (lck_posix->mem == NULL) { - fprintf(stderr, "FTNOIR failed to init SHM #2!\n"); + fprintf(stderr, "opentrack failed to init SHM #2!\n"); return 0; } shm_posix = (WineSHM*) lck_posix->mem; memset(shm_posix, 0, sizeof(WineSHM)); - strcpy(outName, "FaceTrackNoIR"); - strcpy(outSignature, "FaceTrackNoIR - FreeTrack lives!"); - strcpy(outDescription, "Face tracking view control"); - fprintf(stderr, "FTNOIR init complete\n"); + strcpy(outName, "opentrack"); + strcpy(outSignature, "opentrack - freetrack lives!"); + strcpy(outDescription, "head tracking view control"); + fprintf(stderr, "opentrack init complete\n"); return 1; } return 0; -- cgit v1.2.3