Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/SimulPiscator/AirSane
Browse files Browse the repository at this point in the history
  • Loading branch information
SimulPiscator committed Sep 4, 2024
2 parents 63003e7 + 74ff804 commit 04cd417
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.1)
cmake_minimum_required(VERSION 3.5)

project(airsaned)

Expand Down
4 changes: 2 additions & 2 deletions server/scanjob.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ ScanJob::Private::init(const ScanSettingsXml& settings, bool autoselectFormat, c
const char*
ScanJob::Private::kindString() const
{
switch (mKind) {
switch (mKind.load()) {
case single:
return "single";
case adfConcat:
Expand Down Expand Up @@ -499,7 +499,7 @@ ScanJob::Private::updateStatus(SANE_Status status)
mStateReason = PWG_JOB_CANCELED_BY_USER;
break;
case SANE_STATUS_EOF:
switch(mKind) {
switch(mKind.load()) {
case single:
if (mImagesCompleted > 0) {
mState = completed;
Expand Down

0 comments on commit 04cd417

Please sign in to comment.