Changeset View
Changeset View
Standalone View
Standalone View
graphics/kf5-prison/files/extrapatch-nulltpr
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
As FreeBSD 9 does not like nulltpr, replace them by NULL. | |||||
--- src/lib/prison.cpp.orig 2016-12-03 20:43:49 UTC | |||||
+++ src/lib/prison.cpp | |||||
@@ -35,18 +35,18 @@ Prison::AbstractBarcode *Prison::createB | |||||
switch(type) | |||||
{ | |||||
case Prison::Null: | |||||
- return nullptr; | |||||
+ return NULL; | |||||
case Prison::QRCode: | |||||
return new QRCodeBarcode; | |||||
case Prison::DataMatrix: | |||||
return new DataMatrixBarcode; | |||||
case Prison::Aztec: | |||||
- return nullptr; | |||||
+ return NULL; | |||||
case Prison::Code39: | |||||
return new Code39Barcode; | |||||
case Prison::Code93: | |||||
return new Code93Barcode; | |||||
} | |||||
- return nullptr; | |||||
+ return NULL; | |||||
} |