Merge branch 'master' into TextEdit
This commit is contained in:
commit
8a10ceb80b
1 changed files with 4 additions and 2 deletions
|
@ -53,10 +53,12 @@ GDriver *gdriverRegister(const GDriverVMT *vmt, void *param) {
|
|||
}
|
||||
|
||||
// Add it to the driver chain
|
||||
if (dhead)
|
||||
if (dhead) {
|
||||
dtail->driverchain = pd;
|
||||
else
|
||||
dtail = pd;
|
||||
} else {
|
||||
dhead = dtail = pd;
|
||||
}
|
||||
|
||||
// Do the post init
|
||||
if (vmt->postinit)
|
||||
|
|
Loading…
Add table
Reference in a new issue