summaryrefslogtreecommitdiffhomepage
path: root/x-plane-plugin
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-09-17 20:32:46 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-09-17 20:32:46 +0200
commit4ab718bdd67ee0b5327269e24675070c2a705cc5 (patch)
treece378981f5c12bd2f330833039e9491d07b53936 /x-plane-plugin
parent1824a10ebe285d4b81ed0c50197e5fa78685587f (diff)
xpl: rename user-visible data following fork
Diffstat (limited to 'x-plane-plugin')
-rw-r--r--x-plane-plugin/plugin.c12
1 files 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;