Skip to content

Commit 22637bf

Browse files
committed
follow cc license for stackoverflow code
1 parent e879a4d commit 22637bf

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

UAssetGUI/SettingsForm.cs

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,18 @@ private void customSerializationFlagsBox_Click(object sender, EventArgs e)
196196
{
197197
// this logic is here to prevent default list box selection logic
198198

199-
// idea from https://stackoverflow.com/a/334672
199+
// The following block of code is modified and adapted from source code on StackOverflow created and licensed by user Hath, copyright 2008: https://stackoverflow.com/a/334672
200+
// The original code is adapted for usage in this software under the terms of the CC BY-SA 2.5 license: https://creativecommons.org/licenses/by-sa/2.5/
201+
/*
202+
UNLESS OTHERWISE AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE
203+
WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND
204+
CONCERNING THE MATERIALS, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE,
205+
INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS
206+
FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT
207+
OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR
208+
NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED
209+
WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.
210+
*/
200211
for (int i = 0; i < customSerializationFlagsBox.Items.Count; i++)
201212
{
202213
if (customSerializationFlagsBox.GetItemRectangle(i).Contains(customSerializationFlagsBox.PointToClient(MousePosition)))

0 commit comments

Comments
 (0)