Skip to content

Commit

Permalink
8311110: multichar warning in WinAccessBridge.cpp
Browse files Browse the repository at this point in the history
Reviewed-by: djelinski, jwaters, prr
  • Loading branch information
Abhishek Kumar committed Jun 13, 2024
1 parent 238162a commit 301bd70
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2005, 2023, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2005, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -2773,7 +2773,7 @@ WinAccessBridge::getAccessibleTextItems(long vmID,
if (destABWindow != (HWND) 0) {
if (sendMemoryPackage(buffer, sizeof(buffer), destABWindow) == TRUE) {
memcpy(textItems, &(pkg->rTextItemsInfo), sizeof(AccessibleTextItemsInfo));
if (pkg->rTextItemsInfo.letter != '/0') {
if (pkg->rTextItemsInfo.letter != '\0') {
return TRUE;
}
}
Expand Down

0 comments on commit 301bd70

Please sign in to comment.