starting to create a new file format

This commit is contained in:
betzalel
2017-08-24 14:33:53 +03:00
parent e06ad806db
commit 7852f11ceb
6 changed files with 33 additions and 13 deletions

View File

@@ -175,9 +175,9 @@ func (m *MsgSetColorMapEntries) Read(c common.IClientConn, r *common.RfbReadHelp
return nil, err
}
}
cmap := c.CurrentColorMap()
// Update the connection's color map
cmap[result.FirstColor+i] = *color
// cmap := c.CurrentColorMap()
// // Update the connection's color map
// cmap[result.FirstColor+i] = *color
}
r.SendMessageEnd(common.ServerMessageType(m.Type()))
return &result, nil