projects
/
usb-relay-hid.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c51b55
)
Fix warning in GUIapp (no functional)
author
Pavel A
<pavel_a@aaa>
Sat, 28 Mar 2015 20:30:58 +0000
(23:30 +0300)
committer
Pavel A
<pavel_a@aaa>
Sat, 28 Mar 2015 20:30:58 +0000
(23:30 +0300)
windows-vs/VS_GUI_demo/GUIapp.cpp
patch
|
blob
|
blame
|
history
diff --git
a/windows-vs/VS_GUI_demo/GUIapp.cpp
b/windows-vs/VS_GUI_demo/GUIapp.cpp
index 5c299755d8fe1619ddbde41efb5bfb01430e39a9..6b1b1b0f719000ff0efb5ea7e2cae16e7d3bcc54 100644
(file)
--- a/
windows-vs/VS_GUI_demo/GUIapp.cpp
+++ b/
windows-vs/VS_GUI_demo/GUIapp.cpp
@@
-93,7
+93,7
@@
void Form1::buttonOpen_Click(System::Object^ sender, System::EventArgs^ e)
if ( r != 0 ) {
setMsg("Error reading device state", true);
} else {
- for (i
nt i
= 0; i < MaxRelaysNum; i++ ) {
+ for (i = 0; i < MaxRelaysNum; i++ ) {
System::Windows::Forms::TextBox^ t;
t = static_cast<System::Windows::Forms::TextBox^>(aIndicators->GetValue(i));
Drawing::Color c = st & (1 << i) ? GREEN : RED;