summaryrefslogtreecommitdiff
path: root/plugins/SeenPlugin/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SeenPlugin/src')
-rw-r--r--plugins/SeenPlugin/src/utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SeenPlugin/src/utils.cpp b/plugins/SeenPlugin/src/utils.cpp
index a74fa1652a..5d90145f92 100644
--- a/plugins/SeenPlugin/src/utils.cpp
+++ b/plugins/SeenPlugin/src/utils.cpp
@@ -413,8 +413,8 @@ LBL_charPtr:
goto LBL_charPtr;
default:
- _tcsncpy(szdbsetting, p-1, 2);
- goto LBL_charPtr;
+ *d++ = p[-1];
+ *d++ = *p;
}
}