* Changed BaseCap ID type from int to int32.
* Removed unused printer ID from PrinterCap. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39156 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -118,9 +118,7 @@ JobData::load(BMessage *msg, const PrinterCap *cap, Settings settings)
|
||||
fPaper = kA4;
|
||||
|
||||
if (msg->HasInt32(kJDResolution)) {
|
||||
int32 resolution;
|
||||
msg->FindInt32(kJDResolution, &resolution);
|
||||
fResolutionID = resolution;
|
||||
msg->FindInt32(kJDResolution, &fResolutionID);
|
||||
} else if (cap->isSupport(PrinterCap::kResolution)) {
|
||||
fResolutionID = cap->getDefaultCap(PrinterCap::kResolution)->ID();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user