We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db9bbf4 commit 901f6caCopy full SHA for 901f6ca
src/platform/fltk/HelpWidget.cxx
@@ -437,6 +437,11 @@ struct BrNode : public BaseNode {
437
struct AnchorNode : public BaseNode {
438
AnchorNode(Attributes &p) :
439
BaseNode(),
440
+ x1(0),
441
+ x2(0),
442
+ y1(0),
443
+ y2(0),
444
+ lineHeight(0),
445
wrapxy(0),
446
pushed(0) {
447
p.getName(name);
src/ui/strlib.cpp
@@ -23,7 +23,7 @@ String::String(const char *s) {
23
}
24
25
String::String(const String &s) {
26
- _buffer = strdup(s._buffer);
+ _buffer = s._buffer == NULL ? NULL : strdup(s._buffer);
27
28
29
String::String(const char *s, int len) : _buffer(NULL) {
0 commit comments