Fixed indent.

This commit is contained in:
vyacheslav 2015-10-30 12:12:22 +03:00
parent 50276232b1
commit 9675b153c9

View File

@ -1656,8 +1656,8 @@ NAN_METHOD(Matrix::Threshold) {
"Use \"Binary\" (default), \"Binary Inverted\", " "Use \"Binary\" (default), \"Binary Inverted\", "
"\"Threshold Truncated\", \"Threshold to Zero\" " "\"Threshold Truncated\", \"Threshold to Zero\" "
"or \"Threshold to Zero Inverted\""; "or \"Threshold to Zero Inverted\"";
char *errorMessage; char *errorMessage;
errorMessage = new char[strlen(typeString) + strlen(text) + 2]; errorMessage = new char[strlen(typeString) + strlen(text) + 2];
strcpy(errorMessage, "\""); strcpy(errorMessage, "\"");
strcat(errorMessage, typeString); strcat(errorMessage, typeString);
strcat(errorMessage, text); strcat(errorMessage, text);
@ -1680,8 +1680,8 @@ NAN_METHOD(Matrix::Threshold) {
char *algo = *algorithm; char *algo = *algorithm;
char text[] = "\" is no supported threshold algorithm. " char text[] = "\" is no supported threshold algorithm. "
"Use \"Simple\" (default) or \"Otsu\"."; "Use \"Simple\" (default) or \"Otsu\".";
char *errorMessage; char *errorMessage;
errorMessage = new char[strlen(algo) + strlen(text) + 2]; errorMessage = new char[strlen(algo) + strlen(text) + 2];
strcpy(errorMessage, "\""); strcpy(errorMessage, "\"");
strcat(errorMessage, algo); strcat(errorMessage, algo);
strcat(errorMessage, text); strcat(errorMessage, text);